Found it had to do new ExecutionContext(Token)
Now I would like to kill the process instance. I got my code from the source for the web console, but when I end the process instance is sits in the start node, when I end the tokens it spawns 2 more process instances and all 3 (original and 2 spawns) sit in the start node.
Token tk = jbpmContext.loadTokenForUpdate(token.getId()); tk.end(); jbpmContext.save(token);
new questions belong in new topics