I have a requirement to start a timer when a process instance begins, and if the process does not go to an end-state within a stipulated time, the timer is to bring the process instance to a premature end.
Can this be done at all? So far I have experimented with doing
executionContext.getToken().setNode("end node");