User Tools

Site Tools


condition:Action_Result

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
condition:Action_Result [2017/09/06 00:49]
peternlewis
condition:Action_Result [2023/06/20 00:42] (current)
peternlewis
Line 1: Line 1:
 The //Action Result condition// (v8+) tests the [[token:​ActionResult|%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. The //Action Result condition// (v8+) tests the [[token:​ActionResult|%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.
  
-Prior to version 8 you can use the [[condition:​Text|Text]] condition ​and the //​%ActionResult%//​ token.+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 [[condition:​Variable|Variable]] condition.
  
 The condition tests the result to determine if: The condition tests the result to determine if:
Line 7: Line 7:
 * it completed OK. * it completed OK.
 * it did not complete OK. * it did not complete OK.
-* is exactly a specified string. +* is exactly ​(case insensitively) ​a specified string. 
-* is not exactly a specified string.+* is not exactly ​(case insensitively) ​a specified string.
 * contains (case insensitively) a specified string. * contains (case insensitively) a specified string.
 * does not contain (case insensitively) a specified string. * does not contain (case insensitively) a specified string.
condition/Action_Result.1504673369.txt.gz · Last modified: 2017/09/06 00:49 by peternlewis