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&...]