CheckAllIntegrity action

The Datacap Studio rrunner actions library includes the CheckAllIntegrity action that checks the structural integrity of a batch.

Library Action Description
rrunner CheckAllIntegrity Returns True if the current batch meets the requirements that are defined in the document hierarchy; returns False otherwise.
Important: You must run this action within a rule that runs at the batch level.

CheckAllIntegrity does not change the status variable on non-conforming documents. Instead, the action returns False if there is a document integrity issue, which you can use to trigger corrective action.

In the log file that is generated by the Rulerunner task profile (rulerunner_rrs.log), you can see the code that is returned by CheckAllIntegrity if the action returns False. If the batch includes multiple problems, the code represents the last problem. Theses codes represent different problems: