If a Cancel Batch message is received, the agent sends the batch to ECS.
Note
If the Cancel Batch behavior, defined on workflow level, is configured to abort the workflow, the agent will never receive the last Cancel Batch message. In this situation ECS will not be involved, and the file will not be deleted even if theĀ Remove After Collection is enabled.