Skip to main content
keerthik0010
March 3, 2025
Question

UIT - delete the uploaded docs via Advanced Rich Text editor based on timer

  • March 3, 2025
  • 8 replies
  • 0 views

Hi,

I have a process model with a user task.

user task has a Rich text editor, where user uploads the images but leaves the form without submission.

Issue is, how to delete the uploaded images/documents based on timer - 1hr.

I have tried exception flow on UIT, but the user enter docs data/Ids are not received into process var.

Is there a way to get the document IDs by using process instance Id?

Thanks,

Keerthi

8 replies

karumurua531442
March 3, 2025

hi [mention:02c3f606848545c78e557c59d3379722:e9ed411860ed4f2ba0265705b8793d05:label=keerthik0010%2C]you need to have exception flow to your user input task
Exceptions:- The exceptions tab lets designers create alternative workflows from an activity based on configured conditions. The exception tab appears on all non-event and non-gateway activities. We can configure the Exceptions based on Timer Event, Rule Event, and Receive Message Event

User input task exception tab:

Click on configure tab : set timer to 60 mins 

keerthik0010
March 3, 2025

Thanks Abhishek, I already tried exception flow based on timer. I am not getting the document IDs uploaded in the user task. I have a process var DocIds mapped to rule input DocIds of user task.

karumurua531442
March 3, 2025

I think when you upload. The images are not stored in Appian may be

stefanhelzle0001
March 3, 2025

The only option I see, is to upload the documents to a temp folder, and then, after a real submission, move them to the final folder. Then you can use a scheduled process to delete the orphan documents.

keerthik0010
March 5, 2025

This is a good idea but using Advanced Rich Text editor, we can configure a fixed folder to save the uploaded docs. Is there a way we can give a folderId as well?

stefanhelzle0001
March 5, 2025

I think that this will also accept a dynamic folder which you created earlier.