JBoss Community

Re: Task Human - Parameter Mapping

created by Arun V G in jBPM - View the full discussion

Hint

 

//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