1 Reply Latest reply on Sep 13, 2012 7:17 AM by jnorris

    Question about localTaskServer methods

    jnorris

      Can anyone tell me what the release method does?  Is that the same function as "revoke" in the human task life cycle in the documentation?

        • 1. Re: Question about localTaskServer methods
          jnorris

          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.