jnorris [https://community.jboss.org/people/jnorris] created the discussion

"Re: Question about localTaskServer methods"

To view the discussion, visit: https://community.jboss.org/message/759375#759375

--------------------------------------------------------------
I figured it out from the mvel file in the human task jar file.  This is the 
command:

Operation.Release 
        : [ new OperationCommand().{ 
                status = [ Status.Reserved, Status.InProgress ],
 allowed = [Allowed.Owner, Allowed.BusinessAdministrator ],  
                setNewOwnerToNull = true,            
                newStatus = Status.Ready
 } ],

So if the current status is reserved or inprogress and the user is the owner or 
a business administrator the owner is set to null and the status is set to 
ready so it can be claimed.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to