sandy yang [
https://community.jboss.org/people/forrest43] created the discussion
"Re: the problem caused by the reassignment and notifications under the usertask node
in JBPM5"
To view the discussion, visit:
https://community.jboss.org/message/754725#754725
--------------------------------------------------------------
two more questions
question 1:
when the process runs to a certain point , I use below coding to show the status of
the current process, code as follow,
for(NodeInstance ni :
((WorkflowProcessInstance)pi).getNodeInstances()){
HumanTaskNodeInstance ntn = (HumanTaskNodeInstance)ni;
String name = ni.getNode().getName();
String actorId =
ntn.getWorkItem().getParameter("ActorId").toString();
System.out.println("node:"+name+" actorid:"
);
}
According to the above coding, sometime the feedback of the actorID will be
org.jbpm.task.utils.MarshalledContentWrapper type, sometime it will be String type data.
As below attachment, when the process runs to task1, the feedback of actorID will be
MarshalledContentWrapper, but when the process runs to task2, the feedback of actorID will
be String type data, can you tell me reason why it happens?
question2:
If I want to check how many human task nodes did the process stay, and who has
edited the owner of these human task nodes, how can I achieve this checking?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/754725#754725]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]