token:ActionResult
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| token:ActionResult [2015/07/15 10:19] – created peternlewis | token:ActionResult [2021/10/14 09:06] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The //%ActionResult%// token returns the success or failure of the immediate past action. | + | ====== |
| - | Note that this value is reset at the end of every action, so you must immediately text it or save it into a variable | + | The **%ActionResult%** token returns text indicating the success or failure of the immediate past action. |
| + | |||
| + | If the immediately past action was successful, then “OK” is returned, otherwise, a message describing the reason for failure is returned. | ||
| + | |||
| + | ===== How To Use ===== | ||
| + | |||
| + | Note that this value is reset at the end of every action, so immediately after the Action, | ||
| + | |||
| + | You can use this token for error handling, much like a traditional try/ | ||
| + | |||
| + | ===== Examples ===== | ||
| + | |||
| + | **Example #1** | ||
| * Action that Might Fail | * Action that Might Fail | ||
| + | * You may need to disable (uncheck) the Action Option for " | ||
| + | * You may want to change the timeout interval in the Option for "Set Action Timeout..." | ||
| * Set Variable “Reason” to text %ActionResult% | * Set Variable “Reason” to text %ActionResult% | ||
| - | or | + | **Example #2** |
| * Action that Might Fail | * Action that Might Fail | ||
| * If Text %ActionResult% is “Whatever” | * If Text %ActionResult% is “Whatever” | ||
| + | |||
| + | **Example #3** | ||
| + | |||
| + | Test if the [[action: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Actions ==== | ||
| + | |||
| + | * [[action: | ||
| + | * [[action:If Then Else|If Then Else]] | ||
| + | * [[action: | ||
| + | * [[: | ||
| + | |||
| + | ==== Tokens ==== | ||
| + | |||
| + | * [[: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Manual ==== | ||
| + | |||
| + | * [[: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Forum ==== | ||
| + | |||
| + | - [[https:// | ||
| + | ==== Keywords ==== | ||
| + | |||
| + | Action Result, Action Results, Action Failure, Action Success | ||
token/ActionResult.1436955588.txt.gz · Last modified: by peternlewis
