Assign batch to delivery
assign_batch_to_deliveryPut a ready batch in a delivery, or take it out. Pass deliveryId to assign, omit to unassign. Only a ready batch no delivery carries can be assigned. Take it out of its current delivery first. At a workflow run's Delivery stage, assigning every ready Batch of the run to one existing Delivery completes the stage instead of create_delivery. In a run of a workflow that starts at Delivery, adding any ready Batch no delivery carries to an existing Delivery completes the stage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | Ready Batch to assign or unassign. | |
| metrics | No | Optional client measurements, stored on the workflow step this call completes. | |
| deliveryId | No | Delivery to assign to; omit to unassign. |