JBoss Community

Re: jBPM 5 - How to Pass parameters in a WorkItem BPMN2 file

created by Kris Verlaenen in jBPM - View the full discussion

You can set the value of parameters inside your process, for example using a script node "kcontext.setVariable(name, value)"

 

If you want to execute the same work item multiple times (once for each set of values), I suggest you take a look at multi-instance loop characteristics, this allows you to execute a composite node multiple times, once for each element in a collection.

 

Kris

Reply to this message by going to Community

Start a new discussion in jBPM at Community