JBoss Community

kcontext.setVariable("variable",value) for begin used by following tasks?

created by gigazhang in jBPM Development - View the full discussion

my flow:

https://community.jboss.org/servlet/JiveServlet/downloadImage/2-730215-18401/450-104/12345.png

 

every node i set  #{userid} as actorid

 

start process:

 

Map<String,Object> params = new HashMap<String, Object>();

params.put("userId", "Jack");

ksession.startProcess("com.test.task.bpmn",params);

 

 

the problem is when the first task completed,how can i change the variable userId to set the follow actor.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community