Explicitly step to the next workflow step

Uses the next: command to explicitly define the sequence of workflow steps and executes steps in a different order than they appear in the workflow definition.

Documentation pages that include this code sample

To view the code sample used in context, see the following documentation:

Code sample


- first_step:
    call: http.get
      url: https://www.somewhere.com/callA
    next: second_step
- third_step:
    call: http.get
      url: https://www.somewhere.com/callB
    next: end
- second_step:
    call: http.get
      url: https://www.somewhere.com/callC
    next: third_step

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.