• All actors must approve

    By Richard V Baker 1 decade ago

    Where two actors are responsible for a task and “All actors must approve for task to advance” is ticked then it still advances to the next task if one of the actors approves the task twice

    • Do you have the decision?

      By Alexei Sekarin 1 decade ago

      You can add into the isAuthorized function the following script:


      If wf.task.isMultiActor Then<br/>
          auth = wf.task.actionActor<br/>
          Forall a In auth<br/>
              If a = userName$ Then<br/>
                  isAuthorized = False<br/>
              End If<br/>
          End Forall<br/>
      End If