Scripting with decisions
In this workflow, we will see how decisions can be implemented into scripts. You will learn how to create basic and custom decisions.
Getting ready
We just need a working Orchestrator, and you will need the rights to create new workflows and run them. We will work with the Orchestrator Client.
We need a new workflow where we can add a decision. You also should know how to work with logs.
For the Decision activity element, we will be using the example workflow 00.00 BasicWorkflow
, which is stored in the Basic Helper
folder.
How to do it...
There are three decisions that can be used in Orchestrator; we will discuss them in the following sections.
Basic decision
The Basic decision lets you check a single variable against a condition. A condition is always something that is either true or false. For example, the condition 5 > 3 is true, whereas the condition Team contains i is false.
Create a new workflow and define an in-parameter of the
String
type.Assemble the structure...