[jboss-user] [jBPM] - Re: [jbpm5] how to use the property 'Content' of the Human Task

Chris Melas do-not-reply at jboss.com
Sat Oct 22 09:01:53 EDT 2011


Chris Melas [http://community.jboss.org/people/melc] created the discussion

"Re: [jbpm5] how to use the property 'Content' of the Human Task"

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

--------------------------------------------------------------
Hello,
As Mauricio said the content parameter is used to pass all info for a specific human task, to the human task server. To achieve this you have two main methods,
1. Set data to the Content parameter from the field, as you have done. This way you may only pass String data
2. Set data to the Content parameter from a parameter mapping, to pass any type of data. Check out the following link,
 http://community.jboss.org/people/bpmn2user/blog/2011/02/21/jbpm5-example-for-forms-with-variables http://community.jboss.org/people/bpmn2user/blog/2011/02/21/jbpm5-example-for-forms-with-variables

To access the data you may do it inside the ftl as shown in the link above, or via code/API check the following links,
  http://community.jboss.org/message/603362#603362 http://community.jboss.org/message/603362
  http://community.jboss.org/people/bpmn2user/blog/2011/04/03/jbpm5-human-task-api-usage-example http://community.jboss.org/people/bpmn2user/blog/2011/04/03/jbpm5-human-task-api-usage-example
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633135#633135]

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/20111022/cc0632ec/attachment.html 


More information about the jboss-user mailing list