JBoss Community

Re: Getting process instance variables

created by jnorris in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community