Flowchart
The Flowchart activity is used to create workflows that define and manage complex flow controls.
The Flowchart specifies a unique StartNode that is executed when the workflow starts and uses a network of linked Nodes to create arbitrary loops or to divert the flow of execution to anywhere else in the workflow at any given time.
Activity Parameters
The Flowchart activity has only one checkbox parameter:
Parameters:
- ValidateUnconnectedNodes (CheckBox control) (type: boolean): one has the option to leave nodes disconnected from the flowchart logic. This option allows the user to force a validation of those nodes as well before running the workflow. Default: unchecked/false.
Example:
Our example is a workflow that creates an Active Directory user. Some of the nodes in the exmple flowchart will be covered later in the documentation.
FlowDecision
The FlowDecision node is a conditional node that provides a branch for the flow of control into one of two alternatives based on whether a specified condition is satisfied.
Activity Parameters
The FlowDecision activity has 4 parameters (including DisplayName) that can be provided by manually inserted values or via IN arguments or variables:
Parameters:
- Condition (textbox editor control) (type: boolean): the condition that is to be evaluated, and based on which the flow will continue on one of its two branches (true or false).
- FalseLabel (textbox editor control) (type: String): optional label that can be set for the False branch.
- TrueLabel (textbox editor control) (type: String): optional label that can be set for the True branch.
Example:
Our example is a part of a workflow that creates an Active Directory user. For exemplary reasons, the TrueLabel has been changed from "True" to "Exists", and the FalseLabel became "DoesntExist" instead of "False".
Our example checks whether the username provided as InArgument (the username we are trying to create) exists and assigns a value to a boolean variable (UserExist).
The FlowDecision then evaluates the condition "UserExists=true", and if it exists it disconnects from the ActiveDirectory, otherwise attempting to create a new user.
FlowSwitch
The FlowSwitch node is a conditional node that provides a branch for the flow of control into one of two alternatives based on whether a specified condition is satisfied.
Activity Parameters
The FlowSwitch activity has 4 parameters (including DisplayName) that can be provided by manually inserted values or via IN arguments or variables:
Parameters:
- Condition (textbox editor control) (type: boolean): the condition that is to be evaluated, and based on which the flow will continue on one of its two branches (true or false).
- FalseLabel (textbox editor control) (type: String): optional label that can be set for the False branch.
- TrueLabel (textbox editor control) (type: String): optional label that can be set for the True branch.
Example:
Our example is a part of a workflow that creates an Active Directory user. For exemplary reasons, the TrueLabel has been changed from "True" to "Exists", and the FalseLabel became "DoesntExist" instead of "False".
Our example checks whether the username provided as InArgument (the username we are trying to create) exists and assigns a value to a boolean variable (UserExist).
The FlowDecision then evaluates the condition "UserExists=true", and if it exists it disconnects from the ActiveDirectory, otherwise attempting to create a new user.
FlowDecision
The FlowDecision node is a conditional node that provides a branch for the flow of control into one of two alternatives based on whether a specified condition is satisfied.
Activity Parameters
The Do While activity has 4 parameters (including DisplayName) that can be provided by manually inserted values or via IN arguments or variables:
Parameters:
- Condition (textbox editor control) (type: boolean): the condition that is to be evaluated, and based on which the flow will continue on one of its two branches (true or false).
- FalseLabel (textbox editor control) (type: String): optional label that can be set for the False branch.
- TrueLabel (textbox editor control) (type: String): optional label that can be set for the True branch.
Example:
Our example is a part of a workflow that creates an Active Directory user. For exemplary reasons, the TrueLabel has been changed from "True" to "Exists", and the FalseLabel became "DoesntExist" instead of "False".
Our example checks whether the username provided as InArgument (the username we are trying to create) exists and assigns a value to a boolean variable (UserExist).
The FlowDecision then evaluates the condition "UserExists=true", and if it exists it disconnects from the ActiveDirectory, otherwise attempting to create a new user.