HOW TO CREATE PARALLEL APPROVAL WITHIN A SINGLE STAGE?

HOW TO CREATE PARALLEL APPROVAL WITHIN A SINGLE STAGE?


To create a stage with simultaneous concordance among several users, do the following:

  1. In IWorkflowRuleProvider, register a rule to check the user access rights to concordance. The access should be defined by taking into account concordances previously executed at this stage. Executed concordances are recorded in WorkflowProcessTransitionHistory table.
  2. Add a record into the “Actors” block with a rule from p. 1.
  3. Add a cyclical Transition to the current Activity with the following parameters: Trigger Type:  Command, Restrictions: Actor from p. 2.
  4. In IWorkflowActionProvider, register an Action that will check whether or not the stage has been fully concurred. Executed concordances are recorded in WorkflowProcessTransitionHistory table.
  5. Add an outgoing Transition to a current Activity with the following parameters: Trigger Type:  Auto, Condition Action: Action from p. 4.

For to use parallel braches, you may look this acticle: Parallel branches.