Automation Workshop is a software for Task automation. It monitors the system for certain conditions using a set of Triggers. When the criteria set in Trigger match the system conditions, the associated Task is executed. The Task then performs a workflow that consists of sequence of predefined Actions.
The workflow can consist of one or multiple Actions. The Actions are performed in order. Depending on the structure of workflow, Action sequences can be either linear or non-linear.
Linear workflows. In a linear workflow Actions are performed each after another, each one only once. The Task starts with the first Action and performs each Action until it reaches the end of the list. No Action is skipped in the process (unless Action is disabled).
Non-linear workflows. In non-linear workflows Actions are not necessarily performed in sequential order. Depending on the design of particular workflow some Actions may not be performed at all or performed more than once.
Typically non-linear workflows contain Compare or Flow Actions:
Let's consider the example. Note the indentation. The indent before Print File and Send Email Actions right under the If Action indicates that both Actions are nested in the If Action forming a branch which is performed only when the If Action conditions are met.
The indent before Send Email and Delete File Actions right under the Else Action indicates that these Actions are nested in the Else branch of If Action which is performed only when the If Action conditions are not met.
In this case, if file contains Business proposal string, then the first branch is performed and the file is printed and emailed. If it does not, the Else branch is performed and the file is emailed and deleted.
Together the six Actions form a conditional scope. The Read from File Action before and the Show Message Action after is outside the scope which means that they are performed unconditionally (anyway).
When the If Action is performed, conditions are verified and either one of two branches is performed:
Either case is followed by Show Message Action outside the conditional scope.
Automation Workshop allows creating complex workflows by nesting conditional scopes within conditional scopes. In that case multiple indentation levels are used.
To change Action sequence or move an Action into a conditional scope or out of it, use arrows in Action tab. The indentation shows in which branch the Action is located.
Workflow control with labels and Go to Action. Anythor kind of non-linear workflows includes Actions that direct to other Action than the next one on the list.
Go to Action specifies which Action is run next. If that Action precedes the Go to Action, it is repeated. If that Action is after Go to Action, all intermediate Actions are skipped.
Note the If Action scope:
In both scenarios the workflow finishes with Zip Files Action.
Conclusion Compare and Flow Actions allow to design complex non-linear workflows - workflows with built-in branch logic. Branched workflows will perform a group of Actions or another depending on whether certain conditions are met.
If you have any questions, please do not hesitate to contact our support team.