[jboss-user] [jBPM] - Re: Question about localTaskServer methods

jnorris do-not-reply at jboss.com
Thu Sep 13 07:18:02 EDT 2012

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:

        : [ 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

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list