Thomas Setiabudi [
https://community.jboss.org/people/thomas.setiabudi] created the
discussion
"Re: Is there anybody who know how to get a process variable's value when get a
task by userid?"
To view the discussion, visit:
https://community.jboss.org/message/780198#780198
--------------------------------------------------------------
Hi,
Isn't your code similar to this one
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/jav...
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/jav...
?
look at this section at that code:
Task task = taskClient.getTask(task4.getId());
Content content = taskClient.getContent(task.getTaskData().getDocumentContentId());
Object result = ContentMarshallerHelper.unmarshall(content.getContent(), null);
Maybe you can use
ContentMarshallerHelper.unmarshall(..) ?
Since you are using jBPM5.3, the
ContentMarshallerHelper.unmarshall(..) will take 3 parameters if I remember correctly,
just try with null for second and third parameter.
Regards,
Thomas Setiabudi
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/780198#780198]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]