[jboss-user] [jBPM] - Re: the problem caused by the reassignment and notifications under the usertask node in JBPM5

sandy yang do-not-reply at jboss.com
Tue Aug 21 05:02:23 EDT 2012


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120821/ed288d5d/attachment.html 


More information about the jboss-user mailing list