Use this block if you need to branch scenario flow according some if-else conditions. Aimylogic checks each condition one-by-one, and if the condition returns true value then a bot jumps to the screen connected to this condition. If there is no any true condition then bot jumps to the screen connected to else condition.

Block preferences

You have to define al least one condition. Each condition is a Javascript boolean expression. You can use any variables available in your scenario.

Else condition

Conditions block provides a default condition named else condition. If no one condition has been evaluated to true value, then a default condition is used.


Aimylogic has underscrore.js library under the hood, thus you can use any functions of this Javascript library to manipulate variables in any condition.
Was this article helpful?
Thank you!