Workflow Features

Combining Workflows

There's no limit to how many workflows you can define on a particular record, or how many types of records you can create in your data model. This opens the possibility for modeling vastly complex systems using WorkflowFirst.

Therefore, it's possible that you will need to combine two or more workflows. By combining workflows, I am referring to the ability for one workflow to spawn another, a secondary workflow. Then, it would either wait for that workflow to complete before resuming, or will continue in parallel.

There are a few ways you can do this.

The first involves spawning a separate workflow. The original workflow will continue running in parallel with the secondary workflow. By using the Separate List Tag feature to create a sub-list, you can then go to the sub-list field and add a new workflow there. The workflow type will be set to Updates Existing Record. This means that as soon as the record in the sub-list is created, that workflow will be started.

The second method is to suspend the workflow at a certain point until a specific condition is met, such as a field value being set. An external process or workflow would then set that value when it completes, using a simple script, which would then cause the workflow to resume. You can utilize the Condition field in the workflow stage to accomplish this.