When a document is deleted in the COTG repository, the document stays in the tablet and can only be deleted manually. How we can remove documents from the app library at the same time? The goal is for the driver to only see the deliveries that he needs to deliver for that day — and not be distracted with other delivery tickets in the library.
If you want to immediately delete forms from the devices once they have been submitted successfully, you willneed to specify 291 as the response code. To do this:
At the end of your HTTP process, store the response code in a job info
Then use this value in the process’ HTTP Server Input task
Maybe not exactly what you’re looking for, but I had documents linked to a database then did a lookup based on a doc ID which returned whether or not the document had been submitted and ended the process if it was already submitted.