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()
Reply to this message by going to Community
Start a new discussion in jBPM at Community