[jboss-user] [jBPM] - Re: How to get an object like kcontext to call setVariable("variable", value) for begin used by following tasks??
Mauricio Salatino
do-not-reply at jboss.com
Tue Oct 18 07:30:26 EDT 2011
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion
"Re: How to get an object like kcontext to call setVariable("variable",value) for begin used by following tasks??"
To view the discussion, visit: http://community.jboss.org/message/632261#632261
--------------------------------------------------------------
Input and output mappings are the way to go, obviously it will work if you put it inside a script task but I don't recommend that way at all. Using java snipets inside an xml file is definitely not a good approach. WorkItems will allows you to hook different implementations for different environments, like for example a MockService for your unit tests and the RealService for your production environments.
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/632261#632261]
Start a new discussion in jBPM at Community
[http://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/20111018/658453c1/attachment.html
More information about the jboss-user
mailing list