0

If/Then/Else Actions

117 0 1
Posted   20 days ago

How do I set up an action to evaluate a variable to perform a certain task if the variable is equal to 1 or True (depending on what type of variable I'm using), but have it perform a different action if the variable is not equal to 1 or True (let's say 0 or 2 or False)? I'm not seeing wher I can enter the "else" part of the action. Do I need to enter it as a separate action? If so, does dominKnow read actions in the order they are stacked?

Comments

( 0 )

Answers  ( 1 )

0
Posted   20 days ago

You would set up a 2nd action for the 2nd use case.  In the cases where you want it to fire both actions if a varaible = X, but only fire action 1 if a second condition is also true and likewise for action 2, then you would add that condition to the "conditions" section of each respective action.

Actions would then be something like

If Variable X = 5 Show element(s) ---> This is the main part of the action

AND variable AlternateFactor != 32 ---> this is the condition the AND part is implied.  The part in italics is what you put in the condition. The comparison format used is JavaScript notation.

Comments

( 0 )