Hi Devs,I want to use to services in my rich text part, in this on the click of the link and the csv document will be downloaded in the system as an export file,Simultaneoulsy I want to start the process on that click only to delete that csv document that is created internally by appian, so that my app does not pile up with time in the futureAttaching the snip for your reference:
Discussion posts and replies are publicly visible
Hi there,
You cannot start two processes/services with a single click. The closest solution to your problem can be a scheduler that runs overnight to clean the documents from the folder. And then you can keep using the link to just download the document and leave the cleaning on the scheduler process.
How to run the scheduler if i dont have the document ids?Can I run the scheduler pointing to the folder constant?This is the folder that i want not to pile up: