If node
The node can divide the flow of the process into two branches. The process goes into the 'true' branch when all conditions set in the node are met, otherwise it goes into the 'false' branch.
Condition - you can choose from four types of conditions (Boolean, date & time, number, string) by clicking on the 'add conditions' button. It`s possible to add multiple conditions.
'Boolean' - only TRUE and FALSE conditions can be compared here. In the non-computed mode, you can flip the switch between TRUE and FALSE (green is true)
'Date & Time' - Here you can compare date-type properties. The operation can be set as 'occurred after' or 'occurred before'.
'Number' condition is used if we want to compare two numbers.
'String' condition allows us to compare text values.
All conditions support computed mode. You can turn on the computed mode by clicking on the lightning icon. You can use computed expressions and properties from the process.
Under conditions, we have the 'Combine' section with two options 'Any' or 'All'.
Any - if this option is chosen, it means that only one condition from the list of conditions has to be met for the process to move to the 'true' branch.
All - in this mode, all set conditions have to be met for the process to move to the 'true' branch.
Example process.
Our process sends marketing emails to the customers that agreed to receive emails.
The first node is a 'Get entity values' node that gets the contact of the customer.
Then we use an IF node that checks whether the customer allowed emails
Then if the 'Allow email' field is 'Yes' then we send an email to the customer.
Let`s start the process. We got the 'Hyper Developers account.
The 'allow email' field is 'Yes' in this account. Because of that. the process sent an email to this account.