This content has been marked as final.
Show 2 replies
-
1. Re: How do I get a pointer to the root token in jBPM4 ?
aguizar Sep 9, 2010 12:04 PM (in response to francis1972)In v4 the process instance is coterminous with the root token. Tokens are called executions in v4. Therefore to get the root execution you simply call execution.getProcessInstance()
-
2. Re: How do I get a pointer to the root token in jBPM4 ?
francis1972 Sep 10, 2010 5:20 AM (in response to aguizar)Hi Alejandro,
thanks for your reply. So, as far as I understand, there is no equivalent in JBPM4 as processInstance.getRootToken() but you have to either specify a node name or retrieve all the executions :
processInstance.getExecution("node")
processInstance.getExecutions();
thanks
Francis