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
condition:Action_Result [2017/11/14 00:33]
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:
condition/Action_Result.txt ยท Last modified: 2023/06/20 00:42 by peternlewis