Note
You must set exclusion criterion in the mandatory query of the filter property of the JSON. To set a flag after the SAP function module has successfully processed the document, use the success property. The success property can set any property to an arbitrary value at the Alfresco document. Then, use this property value for the exclusion criterion in the query. If there is no exclusion criterion set, the document(s) are repeatedly picked up in the next Job execution.