The DisableRule() action prevents a rule from running ("disables" the specified rule). When you use this action in a Then or Else expression of a rule, a rule can disable another rule. Disabled rules cannot run. You can enable a rule with the EnableRule action.
Note: Do not use this action to immediately disable subsequent rules in the queue. If DisableRule is configured to disable a subsequent rule, that rule still runs and is not disabled until the trigger message defined for this rule causes the rule to be re-evaluated.
DisableRule(String ruleName)
where ruleName is the name of the rule that you want to disable.
The following example disables rule, Rule123. If no rule of this name exists, the action is ignored. If Rule123 is already disabled, this action is ignored.
Then/Else: DisableRule("Rule123")