[jboss-user] [jBPM] - Re: getting process variables available in service task

Maciej Swiderski do-not-reply at jboss.com
Tue Aug 13 04:26:41 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: getting process variables available in service task"

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

--------------------------------------------------------------
alright, now I can see what's wrong. You have single data input defined for your service task and it's called Parameter so if you like to get it's value inside the work item handler you need to use exactly the name defined there:

System.out.println(workItem.getParameter("Parameter"));

and that should give you the expected value.

HTH
--------------------------------------------------------------

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

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/20130813/36ecad7b/attachment.html 


More information about the jboss-user mailing list