This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
condition:Action_Result [2017/09/06 00:10] peternlewis created |
condition:Action_Result [2023/06/20 00:42] 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. | ||
Line 23: | Line 23: | ||
* [[action:If Then Else|If Then Else]] | * [[action:If Then Else|If Then Else]] | ||
- | * [[action:Pause|Pause Until Conditions Met]] | + | * [[action:Pause_Until|Pause Until Conditions Met]] |
* [[action:Until|Execute Action Until Conditions Met]] | * [[action:Until|Execute Action Until Conditions Met]] | ||
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||
Line 34: | Line 34: | ||
* [[:Conditions|See all Conditions]] | * [[:Conditions|See all Conditions]] | ||
- |