[jboss-user] [jBPM] - Re: Task Human - Parameter Mapping

Arun V G do-not-reply at jboss.com
Thu Apr 12 07:00:26 EDT 2012

Arun V G [https://community.jboss.org/people/arunvg] created the discussion

"Re: Task Human - Parameter Mapping"

To view the discussion, visit: https://community.jboss.org/message/729585#729585


//Retrieve task
taskclient.getTask(taskId, responseHandler);
Task task = responseHandler.getTask();

long documentContentId = task.getTaskData().getDocumentContentId();

//Retrieve content using content id
taskclient.getContent(documentContentId, contentResponseHandler);
byte[] objectinBytes = contentResponseHandler.getContent().getContent();

>From this byte you can get the object which is a map of input parameters to the human task. 

Hope this helps..  :)

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/20120412/40b50c65/attachment.html 

More information about the jboss-user mailing list