Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So to print the name of the action could look like this: Request {{parent.name}} has failed due to {{error}}


Examples

Example 1

Group 1

  • Catch Action 1 - Http Condition = 400,500

  • Action 1

    • Action 2

  • Action 3

    • Iteration 1

      • Action 5

In the above example when any Action in Group 1 is executed and the response code is either 400 or 500 then the Catch Action 1 will be triggered. 

...

Catch Action All  - Http Condition = 400,500

Group 1

  • Catch Action 1 - Http Condition = 400,500

  • Action 1

    • Action 2

  • Action 3

    • Iteration 1

      • Action 5

Group 2

  • Catch Action 1 - Http Condition = 400,500

  • Action 1

In the above example, there is two specific Group level of Catch Action that only will be triggered if any Action in those Groups returns an error code.

In addition, there is a top-level Catch Action that will be triggered regardless of Group 1 or Group2 action fails. This example might be that there is a comment on each ticket when something goes wrong and sends an email or creates an issue in a fallback project.


Example 3

Group 1

  • Catch Action 1 - Http Condition = 400,500

  • Action 1

    • Action 2

  • Action 3

    • Iteration 1

      • Action 5

  • Group 1.1

    • Catch Action 2 

    • Action 1.1

    • Action 1.2

    • Action 1.3

In the above example when any Action in Group 1 is executed and the response code is either 400 or 500 then the Catch Action 1 will be triggered. 

Group 1.1. also has a specific Catch to those actions.

Use Parent variable to get access to which action did trigger the Catch action

Include Page
Parent Variables
Parent Variables


Response variables

{{response.data}}

{{response.code}}

{{response.issue}}