9.63.7.2.3 Python Processing Agent Transaction Behavior - Batch

This section includes information about the Python processing agent transaction behavior. For information about the general transaction behavior, see 3.1.11 Workflow Monitor.

Emits

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

Command

Description

End Batch

The agent itself does not emit End Batch, however it can trigger the collector to do so by calling the hintEndBatch method. For further information, see 9.63.5.21 Functions for Python.

Cancel Batch

The agent itself does not emit Cancel Batch however, it can trigger the collector to do so by calling the cancelBatch method. For further information, see 9.63.5.21 Functions for Python.

Hint End Batch

If the code contains a call to the method hintEndBatch this will make the agent emit a Hint End Batch.

Retrieves

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

Command

Description

Begin Batch

When a Begin Batch message is received, the agent calls the beginBatch function block, if present in the code.

Cancel Batch

When a Cancel Batch message is received, the agent calls the cancelBatch function block, if present in the code.

End Batch

When an End Batch message is received, the agent calls the drain and endBatch function blocks, if present in the code.