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!