Orchestration
...
Native Actions
If/Else Conditions
2 min
all conditions are on complete action flows now, you can configure actions to perform differently by using the condition native action to have an if condition and else condition, which applies conditional logic to a block of actions that is either true or false based on outputs from previous actions, the conditional statement you create executes accordingly this benefits you by decreasing complexity in playbooks and increasing customization in use cases set up if/else conditional statement just like other native actions, you do not need to add the action manually to customize it do you want to write a true condition? then configure the if logic the logic requires that all of the conditions you enter are met for the data to pass to the downstream actions if you do not configure the true condition, they display with dotted lines instead of solid lines let's create an if/else conditional statement from the playbook, click add an action and select the condition native action to make configuration simpler, the true and false logic paths display immediately to the right, the condition pane shows the title, description, and advanced settings drop down click edit condition to open the window that allows you to enter the logic for your conditional statement if your data has any sensitive information, you can mark as sensitive by clicking the contains sensitive data checkbox the data is not shown in the ui or in the logs click apply to save changes now the dotted line is solid, reflecting that you have configured the condition if you edit the condition action with the desired logic and those criteria are not met, then the condition is false see if/else condition use case for an example