Creating a Conditional Rule with multiple actions

I am new to HE, so the answer may be apparent to many here. I want to set up a conditional rule that triggers multiple actions. When I define the trigger, the condition, and the actions it looks like this:

If (condition) then action1

Will this always run actions2&3 or only run them if the condition is true?

Should it look like this:

if (condition) then action1
if (condition) then action2
if (condition) then action3

The first version will run all the actions. No need to write it as the second version.

As a matter of fact the “if” will run all the actions when affirmative until it encounters an “end if” (or “else if” for a new condition).

To add to the above, the answer to your question as written is "neither." :slight_smile: A simple conditional will show as just IF (condition) and not IF (condition) THEN (that's how you can tell the difference just looking at the actions after writing the rule). A "full" conditional requires an END-IF (at least if you want to be proper; if it would be your last line in the rule, anyway, RM will infer it for you without problem, but it's not a good habit). A simple conditional lets you choose only one action, whereas a "full" conditional can nest any number of actions inside. With these differences in mind, your two options (both of the below will do the same, assuming nothing changes while the actions are running) are either:

IF (Condition) Do Thing 1
IF (Condition) Do Thing 2


IF (Condition) THEN
  Do Thing 1
  Do Thing 2

The former can be marginally easier to write in some cases but doesn't do anything you can't do with the latter (except as one exit strategy for "Repeat..." block--another story and not without other ways also to do the same thing), whereas the latter always gives you the flexibility to add/change more things after the fact. For that reason, I tend to prefer it even if a simple conditional could handle what I wanted to do originally. Your preferences may, of course, vary. Good luck!

1 Like

Thank you for the explanation. I do like using the "full" condition with an END-IF. It also should be a little more efficient than multiple simple IF conditions. The more I work with Rule Manager, the more I like it.