JBoss Community

Re: accsessing global context variables in java task

created by roxy1987 in jBPM - View the full discussion

Chakradhar,

 

This should help you.

 

ProcessInstance processInstance = executionService.startProcessInstanceByKey("blah");

            String processInstID = processInstance.getId();

 

By using this id you can get the variables MAP.

 

regds.

Reply to this message by going to Community

Start a new discussion in jBPM at Community