[jboss-user] [jBPM] - JBPM5.3 Result Mapping Issue + Getting Task Input Data
Ashley Fernandes
do-not-reply at jboss.com
Thu Aug 23 08:24:33 EDT 2012
Ashley Fernandes [https://community.jboss.org/people/callingashley] created the discussion
"JBPM5.3 Result Mapping Issue + Getting Task Input Data"
To view the discussion, visit: https://community.jboss.org/message/755403#755403
--------------------------------------------------------------
Hi,
*Problem 1*
h4. Code
Map<String, Object> params1 = new HashMap<String, Object>();
PartyOnBoardingObjectJ partyOnBoardingObjectJ1 = new PartyOnBoardingObjectJ();
partyOnBoardingObjectJ1.setStage("INTIATION COMPLETED");
params1.put("partyOnBoardingObjectJ1", partyOnBoardingObjectJ1);
taskService.completeWithResults(task.getId(), "john", params1);
ubsequent to this , i assigned partyOnBoardingObjectJ1=temp
temp is coming as null in a script task
*Problem 2*
how do i get the input payload (parameter mapping) of a Task? (via taskService APIs)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/755403#755403]
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/20120823/0f5ad441/attachment-0001.html
More information about the jboss-user
mailing list