明确跳转到下一个工作流步骤

使用 next: 命令明确定义工作流步骤的顺序,并按照与在工作流定义中显式的不同顺序执行步骤。

深入探索

如需查看包含此代码示例的详细文档,请参阅以下内容:

代码示例

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

后续步骤

如需搜索和过滤其他 Google Cloud 产品的代码示例,请参阅Google Cloud 示例浏览器