Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the 
discussion

"Re: How to pass a variable value to java task"

To view the discussion, visit: http://community.jboss.org/message/562977#562977

--------------------------------------------------------------
Hi Jeen,
you can also pass variables when you signal an already running process 
instance, the ExecutionService has a signal method that takes a map as 
parameter.

I haven't used java tasks that much, I found custom activities to be more 
convenient (see:  http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom 
http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom) you have access to 
the execution in their signal() and execute() methods, the variables can be 
retrieved with execution.getVariable('varname').
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562977#562977]

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to