[jboss-user] [jBPM] - Passing data to
Christian Wuertz
do-not-reply at jboss.com
Wed Nov 14 00:00:50 EST 2012
Christian Wuertz [https://community.jboss.org/people/teots] created the discussion
"Passing data to"
To view the discussion, visit: https://community.jboss.org/message/776319#776319
--------------------------------------------------------------
Hi,
I wrote a simple example which uses a Service Tasks to call a webservice. This works fine. But I have no idea how I can forward the retrieved data to another service task.
This is what I tried to do:
public void executeWorkItem(WorkItem i, WorkItemManager m)
{
HashMap<String, Object> results = new HashMap<String, Object>();
results.put("test1", "result1");
results.put("test2", "result2");
m.completeWorkItem(i.getId(), results);
}
But then I don't know how to access these parameters.
I hope you can help me!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/776319#776319]
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/20121114/b9f5bb62/attachment.html
More information about the jboss-user
mailing list