[jBPM] - Re: getting process variables available in service task
Maciej Swiderski <[email protected]> Tue, 13 Aug 2013 04:26:41 -0400
| Newsgroups | gmane.comp.java.jboss.user |
|---|---|
| Message-ID | <[email protected]> |
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]
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user