SCP Collection Agent Transaction Behavior(3.3)

Emits

The agent emits commands that changes the state of the file currently processed.


Command

Description

Begin Batch

Emitted just before the first byte of each collected file is fed into a workflow.

End Batch

Emitted just after the last byte of each collected file has been fed into the system.

Retrieves

The agent retrieves commands from other agents and based on them generates a state change of the file currently processed.


Command

Description

Cancel Batch

If a Cancel Batch message is received, the agent sends the batch to Data Veracity.

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. If this is the case, nothing is sent to Data Veracity, and the file will not be moved, but left at its current place.

APL code where Hint End Batch is followed by a Cancel Batch always results in a workflow abort. Ensure that you design the APL code to first evaluate the Cancel Batch criteria to prevent such behavior.

Hint End Batch

If a Hint End Batch message is received, the collector splits the batch at the end of the current block processed (as received from the server), provided that no UDR is split. If the block end occurs within a UDR, the batch is split at the end of the preceding UDR.

After a batch split, the collector emits an End Batch Message, followed by a Begin Batch message (provided that there is more data in the subsequent block).