2021.1

Since this part of the processing is handled by PlanetPress or PreS Workflow, you can use its
renowned feature set to do virtually anything.
Deleting a submitted form
In order to make the COTG app delete the form from the device's library upon successful
transmission of the data, the Workflow process must return status code 291:
1.
Check the Use custom HTTP server response code option of the Server Input task
(HTTP Server Input or NodeJS Server Input) and select the Job Info variable in which the
response code will be stored.
2. In the Workflow process, after storing the submitted data, set the value of the respective
Job Info variable to 291. This can be done using the Set Job Infos and Variables task or a
Run Script task.
For more information on how to use and configure the HTTP Server Input task to reply to POST
requests, and on how to process the received data, refer to the PlanetPress Workflow or PreS
Workflow documentation.
Page 28