Rule Node
The Rule Node in Cobalt enables users to define conditions that must be met for further execution within a workflow. By adding rule nodes along with start nodes and app nodes, users can add conditional logic that executes different paths.
Steps to use Rule Node
To utilize the Rule Node effectively, follow these steps:
Create Workflow
Begin by navigating to the respective app and creating a new workflow. Add an event and publish the workflow to make it operational.
Add Rule
Within the workflow, add a rule node as per your requirement along with other nodes to define the workflow flow.
Define Rule Condition
Configure the rule node by selecting the appropriate rule condition. First, select the Condition Rule
for the node which can either be Match Any Condition or Match All Conditions.
In Compare Values of
, click on + Map Fields
and specify the variable, operator and value for the condition.
+ Map Fields
button.The Rule Node offers various Operators or Conditions which you can use based on your requirement.
If the specified rule condition is met during execution, the actions to be performed should now be added to the left node connect of Rule node which is for True
otherwise connect to the right end.