[jboss-user] [jBPM] - Re: JBPM5 Content data problem

S Root do-not-reply at jboss.com
Thu Sep 8 16:43:49 EDT 2011

S Root [http://community.jboss.org/people/sroot] created the discussion

"Re: JBPM5 Content data problem"

To view the discussion, visit: http://community.jboss.org/message/625619#625619

Hmmmm, so does that mean that you really can't have anything other than a String as a process variable if you want to be able to later retrieve and display it from the Content of a Task?

Note that I am using the WSHumanTaskHandler and in my custom task handler just before the User Task I set my Map on a resuts map and then pass the results Map when I complete the workItem:

Map<String, Object> resultsMap = new HashMap<String, Object>();
resultsMap.put("MYMAP", myMap);
resultsMap.put("OTHERSTUFF", otherStuff);
workItemManager.completeWorkItem(workItem.getId(), resultMap);

The next step is User Task and I then attemtpt to retrieve the original Map from Task Content.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110908/7a2d87b9/attachment-0001.html 

More information about the jboss-user mailing list