[jboss-user] [jBPM] - Re: TaskClient (Parameter mapping - Result mapping)
Fabio Wang
do-not-reply at jboss.com
Fri Apr 8 15:55:20 EDT 2011
Fabio Wang [http://community.jboss.org/people/fabiowg] created the discussion
"Re: TaskClient (Parameter mapping - Result mapping)"
To view the discussion, visit: http://community.jboss.org/message/598947#598947
--------------------------------------------------------------
Hi,
I'm still trying to figure out some stuff about jbpm5, but here's what I've got so far concerning your question.
In order to insert the content data in a task, start a process (which has a variable declared "somevalue") passing the map of parameters populated with it (let's say params.put("somevalue", somevalue)), and the human task field "Content" (using the Properties view of eclipse) configured to be "#{somevalue}".
This 'somevalue' is (it seems) what is retrieved when you call client.getContent(taskData.getDocumentContentId(), handler).
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598947#598947]
Start a new discussion in jBPM at Community
[http://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/20110408/84304eeb/attachment.html
More information about the jboss-user
mailing list