Conditions
  • 05 Apr 2024
  • 4 Minutes to read
  • PDF

Conditions

  • PDF

Article summary

This topic comprises the following sections:

If Condition

If conditional triggers when a predetermined condition was met and specifies a set of criteria that will be executed. It is the condition that is most frequently used to compare a value to what is anticipated globally.

Figure: If Condition

In the If condition you can configure more then one tables to trigger a set of values. When you configure a core Incident_Master table as Server then create a Server Work order. You can associate one more if condition that if the Workorder_master is resolved then it resolves the core Incident_Master table.

To configure If -Properties, perform the following steps:

  1. Navigate to Workflow Designer.
  2. Drag and drop the If Condition from Condition button.
  3. Clickand select Configure Properties.
    The If - Properties page displayed.
    Figure: If - Properties
  4. Enter the name and description of the If - Properties in the textbox.
  5. Click + Add Filter Set to configure the if condition as described in the following table and click Save.

    FieldDescription
    FieldSelect the table created in the workflow are listed for which data source is created.
    OperatorSelect the pre-defined operators from the list. The listed values such as  Equal, Not Equal, Greater Than, Less Then and so on.
    ValueSpecify the value in the field. 

Switch Condition

By comparing an expression to a list of possible conditions, the switch conditional determines whether it meets a set of requirements and then initiates one or more actions.

Figure: Switch Utility

In the Switch utility, you can configure multiple actions to be triggered at once. In this utility you can set data source as core flow and create record. The following example depicts the Switch utility block daigram:

Figure: Switch utility - Block diagram

Configure Switch

You can configure Switch utility to trigger the conditions parallelly.

To configure Switch utility, perform the following steps:

  1. Navigate to the Workflow Canvas.
  2. Drag and drop the Switch utility to the workflow.
    The Switch utility component displayed on the workflow canvas.
    Figure: Switch
  3. Clickand click Configure Properties.
    The Switch - Properties page is displayed.
    Figure: Switch - Properties
  4. Enter the value as described in the following table and click Save.

    FieldDescription
    Name *Enter the name of the switch which is configured.
    DescriptionSpecify the brief description on the switch properties.
    General
    FieldSelect the general values from the list and select the subsequent fields.
    Switch Cases


Wait for Condition

The Wait for Condition component is used to wait until a predefined conditions are satisfied and process to the next activity. It typically provides a pause or delay in the workflow and where actions are taken based on the real-time fulfillment of conditions rather than fixed conditions.

The three possible use-case of Wait for Conditions are:

  1. Approving the record without satisfying the configured conditions: In this use-case, the approval is completed and execution of the workflow is paused at this activity.

  2. Approving the record with satisfying the configured condition: In this use-case, if the condition is satisfied then the workflow execution will proceed to the move to the next activity.

  3. Ensuring that the condition is met while the execution is pending and await for condition: When the approval is completed but the condition remains unsatisfied, the execution awaits the condition to change. Upon satisfying the condition, it will proceed to the next level.

To configure Wait for Condition, perform the following steps:

  1. Navigate to the Workflow Canvas.
  2. Drag and drop the Wait for condition into the Workflow Canvas.
  3. Click from the Wait for Condition component and click Configure Properties.
    The Wait For Condition - Properties screen is displayed.

Figure: Wait For Condition - Properties

Enter the required details in the following table and click Save.

FieldDescription
Name*Enter the name for the "Wait for Condition" condition to link it with the workflow. You may input an alphanumeric value, with a maximum of 200 characters.
DescriptionEnter the brief description about the 'Wait for Condition" condition. You may input an alphanumeric value, with a maximum of 2000 characters.
Field

The fields related to the selected module are populated in the drop-down list. Select the required option.

OperatorSelect the required operator from the drop-down list. The Possible values for Operator are the predefined values such as Is Not, Doesn't Change etc. These values are displayed based on the selected Field Values.
ValueBased on the selected Field type and Operator the options are populated in the Values field.

The different buttons that are available in the Wait For Condition screen are explained in the following table:

ButtonDescription
Click to create a new row for trigger events. This row allows you to define conditions that, when met, will either initiate an action or prompt user approval.
Click to consolidate multiple conditions that should be evaluated together. You can utilize the AND/OR conditions and take advantage of the grouping functionality within the tool. The Group button becomes visible when you select the check box associated with the defined conditions.
Click to delete grouped conditions. The Delete button becomes visible when you select the checkbox associated with the defined conditions.
Click to remove the individual define condition.
Click to add the individual define condition.

Clone Wait For Condition

You can clone Wait For Condition based on your requirement. Clone enables you to create replica of the Wait For Condition, the component must be generated, incorporating all the properties of the existing condition. You can create a clone for the configured Wait For Condition only.

Delete Set Value

You can delete a Wait For Condition based on your requirement however, you could not delete Wait For Condition linked to other actions in the workflow.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.