Skip to content

PostgreSQL Conditionals

Conditionals or Execution Conditions give you the power to decide if a particular action on PostgreSQL will be performed or not when the workflow is triggered by the incoming event. This is similar to applying "if-then-else" logic to the execution of an action based on the attribute value coming from the workflow's trigger event.

You can add conditions to any action in your workflow.

To decide which actions should be performed in response to a particular trigger based on its characteristics or the data attributes. you can even apply a complex logic using AND, OR, and grouping of such conditions.

Each of the Conditionals support different operators based on the passed data type like string, number, boolean, etc. Read here to learn more about Execution Conditions.

Example Scenario

At the time of defining action if you want to perform the action depending on some criteria that has been passed from trigger, you can use conditional processing.

For example in Figure 1 PostgreSQL action will be carried out only if the message received on Microsoft Teams channel contains an attachment.

PostgreSQL execution condition

Figure 1. PostgreSQL Execution Condition