JBoss Community

Re: Reusable subprocess static value assignment to parameter is not working

created by Artashes Aghajanyan in jBPM - View the full discussion

I have faced the same issue, my workaround was to define a process variable and set the desired constant value to that process variable.

 

For example if you're using the eclipse editor you can define a process variable YourConstantVar in the bpmn and then assign a value to it in "On Entry Actions" of the subprocess:

 

kcontext.setVariable("YourConstantVar", "ATM");

 

Then map the subprocess input to YourConstantVar and it shall work.

Reply to this message by going to Community

Start a new discussion in jBPM at Community