HomeGuidesRecipesAPI
HomeGuidesAPILog In

Parallel Workflow Sections

This feature allows Workflow states to be assigned to users simultaneously, and for the workflow to progress only once all concurrent states have been completed. Question references are resolved concurrently across all states in a parallel section. Parallel sections can optionally be exited from without requiring consensus between assignees, and tasks can be reassigned without affecting the other parallel tasks. However, termination of a parallel task will result in the termination of all tasks in the same parallel section.

Parallel Execution

All valid States within a parallel workflow section - that is, those with valid Conditions - will be assigned to the relevant users simultaneously when the parallel section is entered. Parallel tasks can be completed by their assignees in any order; the workflow will only progress past the parallel section once all tasks are submitted.

User Specification

Assignment of parallel tasks to users must be specified in Design, or by question reference - "search" assignment to users and groups is not supported. Similarly, as states within a parallel section do not have a "Finish" page, user assignment for the transition out of a parallel section must be specified in Design, or by question reference.

Concurrent Question Reference Resolution

Once all tasks in a parallel section have been completed, the transition out of the parallel section executes for all the parallel tasks concurrently, including resolution of question references. This means that even if, for example, State X is completed last - triggering the transition to another State - it could be State Y that includes the question defining the assignee for the new State.

Parallel Priority Exit

A transition from a state within a parallel workflow section can be specified as a "Parallel Priority Exit" transition. If the conditions for this transition are met when the task is submitted, the transition executes immediately, and any tasks parallel to the submitted task will be aborted. This allows, for example, for the workflow to be returned to the initiator without requiring consensus among parallel assignees.

Termination and Reassignment of Tasks

If a parallel workflow task is terminated by an administrator, all other tasks within the same parallel section will also be terminated. This is to ensure that parallel tasks which rely on each other are not left in an unrecoverable state when some are terminated and some are not.

Reassignment of a parallel workflow task will affect only the selected task, leaving the other tasks in the parallel section alone. The parallel section will still complete as normal once all tasks (including reassigned tasks) are completed