Splitting large workflows

You should consider splitting large or complex workflows into sub workflows when a workflow process has become overly difficult to view, contains multiple approval stages, or is running into issues or errors when publishing or exporting. The sub workflows can be inserted in another workflow using the action.

Advantages

  • Avoid the repetition of a long, complex process
  • In a complex workflow process, errors may occur for unexpected reasons and will require the workflow to be restarted from the beginning. This can potentially lead to a workflow that was nearing completion but failed during its last set of actions, resulting in the workflow to start from the beginning. In such situations all the actions in the workflow including any approval tasks must be repeated, resulting in a waste of resources.

    This can be avoided when a workflow is split into several sub workflows. The entire workflow process will not have to be repeated and only the sub-workflow that failed can be started manually. This not only saves time, but ensures if an unexpected issue does occur it will have the smallest impact possible.

  • Ease of troubleshooting
  • Smaller workflows have the advantage of being much easier to diagnose and troubleshoot. If an error occurs in a workflow with hundreds of actions, the first step may be to reproduce the error. This can be very difficult and often is a process of running the workflow manually and editing it part by part to determine which actions are causing the issue.

    A workflow with fewer actions is much easier to manage and to determine which section or action is causing an issue.

Disadvantages

Ability to understand your process at a glance

Splitting up a workflow means you will no longer be able to see your entire process in one view.