[jboss-user] [jBPM] - Re: Reusable subprocess static value assignment to parameter is not working

Artashes Aghajanyan do-not-reply at jboss.com
Fri Mar 8 21:14:21 EST 2013


Artashes Aghajanyan [https://community.jboss.org/people/artash] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/801676#801676

--------------------------------------------------------------
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
[https://community.jboss.org/message/801676#801676]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130308/fdc95310/attachment.html 


More information about the jboss-user mailing list