The SAP JCo Uploader agent performs some extra maneuvers to ensure that records, for a particular file, that are already committed to the SAP System are skipped if the workflow aborts before the batch is completed successfully.
- Records are committed in sub batches. For further information, see the Commit Size setting in SAP JCo Uploader Agent Configuration.
- For every successful commit, an entry is inserted into the database, consisting of the
WF_NAME
,FILENAME
,START_POSITION
andEND_POSITION
of the sub batches. - If the file is successfully processed, at workflow commit, the agent removes all entries inserted into the database for the current file.
If the workflow aborts before the file is successfully processed, on the next re-run, the agent performs a database lookup, and gets the list of records that are already processed. Record numbers that are found in the database are skipped.
For information about the general transaction behavior, see 3.1.11 Workflow Monitor.
Emits
This agent does not emit anything.
Retrieves
Command | Description |
---|---|
Consume | As this agents's action depends on the data of the Processing begins when the This initial consume instance is only when the agent receives the When every |
Commit | Removes all stateInfo data for the file from the database. |