[jboss-user] [jBPM] - Re: Skip a UserTask with resultMapping

Demian Calcaprina do-not-reply at jboss.com
Fri Sep 9 12:06:23 EDT 2011


Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: Skip a UserTask with resultMapping"

To view the discussion, visit: http://community.jboss.org/message/625789#625789

--------------------------------------------------------------
Are you skipping the task after completing it? or replacing the .complete with the .skip= You should skip a task when it is "Created", "Ready", "Reserved" or "In Progress", not when it is completed.

I have made a simple test for skip:
 https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/HumanTaskTest.java https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/HumanTaskTest.java test skipHumanTask(), and works fine.

Regards,

Demian   
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625789#625789]

Start a new discussion in jBPM at Community
[http://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/20110909/9ed074e0/attachment.html 


More information about the jboss-user mailing list