Skip to main content

Execute: Workflow

Zuora
  • 日本語のコンテンツは機械翻訳されており、補助的な参照を目的としています。機械翻訳の精度は保証できません。英語版が正となります。また、現時点では検索機能は日本語での検索をサポートしていません。翻訳に関するフィードバックについては、docs@zuora.comに送信してください。

Execute: Workflow

You can initiate a Workflow from the ExecuteWorkflow task.

Task settings

  • Target Workflow: Select the Workflow to be executed from the list. A target Workflow is only valid if its terminal task is a Logic > ResponseFormatter. The ResponseFormatter may not return a response object greater than 10KB. It is recommended not to include Approval or Delay tasks in the target Workflow.
  • Payload Placement: Use this field to specify the location where the data generated from this task will be stored. The default placement is ExecuteWorkflow. If multiple ExecuteWorkflow tasks use the same payload placement, the data for each task will be appended to the same array as a separate object. If you want the data from a downstream task to replace the data from an upstream task, select the Replace Payload option.
  • Target Workflow Response: Select how the payload response from the target workflow is returned. 

    • Last Task of Target Workflow - Return the response from the last task of the target Workflow.

    • Last Response Formatter Task of Target Workflow - Return the formatted response from the last Logic: ResponseFormatter task of the target Workflow. This is the default option.

Note: When selecting Last Response Formatter Task of Target Workflow, you need to ensure there is at least one ResponseFormatter task in the target Workflow. Otherwise, an error would pop up.

The payload of the target workflow contains the following fields under the Source section:

  • Name of the triggering Workflow
  • ID of the Execute task
  • Wait for Completion: If this option is selected, this ExecuteWorkflow task will not be executed until the target Workflow completes.