JBoss Community

pass actorids from processtest.java

created by kathy89 in jBPM - View the full discussion

hello everyone,

 

                 i'm executing the sample process evaluation.bpmn with 2 new variables #{hr} and #{pm} and i'm initializing the variables in the processTest.java as

 

...

params.put("hr","mary");

params.put("pm","john");

ksession.startProcess("com.sample.evaluation",params);

 

exceptions are thrown with the message "could not find variable scope for variable hr when trying to replace variable in string for work item human task".

 

how do i use variables hr and pm ?

Reply to this message by going to Community

Start a new discussion in jBPM at Community