Cancel Button Doesn’t Remove Uploaded Document

0
I am saving the form along with a document. When I want to edit it, I open an edit page, update the relevant data, and add a new document if needed. However, if I change some data and then click the Cancel button, the main entity's attributes remain unchanged — which is correct — but the uploaded document is not deleted, even though I canceled the operation. How can I fix this issue?
asked
2 answers
0

Instead of the Cancel button you can create a microflows. Retrieve the file or files in Microflows then delete and close the page.

answered
0

Hi Pankaj Shelar,

 

On cancel  button you can add a microflow which retrieves the files, then you can delete those files. But you have to move sure  the already committed files which were saved before are not in the list you are deleting. 

 

Thank You

answered