User Tools

Site Tools


condition:Action_Result

The Action Result condition (v8+) tests the %ActionResult% token containing the results of the last action to complete. This token contains either OK for a successful completion of the action, or an error message of some sort.

Keep in mind the Action Result will be cleared at the end of any successful action, so if you want to know why the actions failed you will need to handle the Action Result immediately, or alternatively save the %ActionResult% in a variable and use the Variable condition.

The condition tests the result to determine if:

  • it completed OK.
  • it did not complete OK.
  • is exactly (case insensitively) a specified string.
  • is not exactly (case insensitively) a specified string.
  • contains (case insensitively) a specified string.
  • does not contain (case insensitively) a specified string.
  • starts with (case insensitively) a specified string.
  • ends with (case insensitively) a specified string.
  • is alphabetically before a specified string.
  • is alphabetically after a specified string.
  • matches a specified regular expression.
  • does not match a specified regular expression.

See Also

Actions

Tokens

Conditions

condition/Action_Result.txt · Last modified: 2023/06/20 00:42 by peternlewis