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.

Explore further

For detailed documentation that includes this code sample, see the following:

Code sample

YAML

  - 
  
 first_step 
 : 
  
 call 
 : 
  
 http.get 
  
 args 
 : 
  
 url 
 : 
  
 https://www.somewhere.com/callA 
  
 next 
 : 
  
 second_step 
 - 
  
 third_step 
 : 
  
 call 
 : 
  
 http.get 
  
 args 
 : 
  
 url 
 : 
  
 https://www.somewhere.com/callB 
  
 next 
 : 
  
 end 
 - 
  
 second_step 
 : 
  
 call 
 : 
  
 http.get 
  
 args 
 : 
  
 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 .

Create a Mobile Website
View Site in Mobile | Classic
Share by: