amount parameter can only be provided during the WE since it’s required for the preview and launch but not for the WC, which is just a template. This parameter is usually provided to the first operation and then carried from one operation to another down the flow.
Example
configId field must include the id for a WC in READY_FOR_EXECUTION status.
The request body params field holds an array. Each item of the array has a configOperationId, which points to a specific operation from the WC. This is necessary when overriding or setting an operation.
An execution proceeds through the following statuses during its creation:
- PENDING: The execution is about to start the validation process.
- VALIDATION_IN_PROGRESS: The validation process has started, ensuring the execution is valid.
- VALIDATION_FAILED or VALIDATION_COMPLETED: The validation failed or completed. If completed, the preview process starts automatically.
- PREVIEW_IN_PROGRESS: The preview process has started.
- PREVIEW_FAILED or READY_FOR_LAUNCH: The preview failed or the execution can be launched. These statuses are finite states.