JBoss Community

Re: jbpm5:Failed to set process variables

created by Tommy Cheng in jBPM - View the full discussion

Anyone know why in org.jbpm.integration.console.CommandDelegate

 

public Map<String, Object> getProcessInstanceVariables(String processInstanceId) {

ProcessInstance processInstance = ksession.getProcessInstance(new Long(processInstanceId));

 

The processInstance does not contains kruntime nor process? they are both null.

 

Why is this happening? i would like to know how to solve this problem since i cannot do any setVariable on it.

 

can i create kruntime and process and insert back to processInstance ? If i can, please tell me how to do..............

 

Thanks in advance...

 

Please help as i am already out of idea....comment is welcomed...

Reply to this message by going to Community

Start a new discussion in jBPM at Community