I'm not sure what you mean with "translation," but the meaning of END-IF
is just to close out the IF THEN
, i.e., the block of conditional actions. For example, compare these two Rule actions:
Action 1
IF (Condition X) THEN
Action 2
END-IF
Action 3
and
Action 1
IF (Condition X) THEN
Action 2
Action 3
END-IF
Action 1 will run in both Rules (because it's outside of any conditional), and in both Rules, Action 2 will also run if Condition X is true at the time of execution. However, Action 3 always run in the first Rule (because it's outside the conditional), whereas Action 3 will only run in the second Rule if the condition is true (because it's contained inside the block of conditional actions).
If it's the last "action" in a Rule, some people leave out the END-IF
. Even though it's not technically valid, RM will figure it out--like forgetting to put a period at the end of a sentence. But it's sloppy, IMHO, and it definitely matters in the first Rule above (otherwise it will execute like the second Rule).
If you're in the middle of making a block of conditional actions, you should see convenient buttons for adding an ELSE
or END-IF
to your Rule actions. But you can always just choose them from the menus, too: the "Conditional Actions" menu (under "Select action type to add") has those plus more, and it's also how you have to start making a conditional action in the first place.