Hi Maciej,
I tried casting to org.jbpm.process.instance.ProcessInstance as suggested and used the code suggested in the other post. However this line causes a null pointer exception:
|
|
| VariableScopeInstance variableScope = (VariableScopeInstance) processInstance.getContextInstance(VariableScope.VARIABLE_SCOPE); |
Casting to RuleFlowProcessInstance works.
Regards,
Jim