how can I check an attachment on requested item table attached or not in every 5 minutes for 40 days from workflow.

Imatiaz
Kilo Contributor

how can I check an attachment on requested item table attached or not in every 5 minutes for 40 days from workflow

Need to run the gliderecord  for checking attachment after every 5 mins for 40 days if attachement is not there on the record for 40 days then cancel the request and RITM from workflow.

 

@Ankur Bawiskar 

13 REPLIES 13

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you explain the business requirement to check the file?

you can use flow designer with no script for this

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I am able to validate the attachment on the RITM record , but, if attachment is not there then it should check for attachment in every 5 mins for next 40 days until it found any attachment on the RITM, if attachment is not there for more than 40 days on RITM then it should send the reminder email through an event from the workflow.

 

Hi,

so what should happen in every 5mins if file is not there?

are you willing to perform any action?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

if file is not found then it should again wait for 5 mins and check again ....this process should last for 40 days and then it will send an reminder email through event 

 

 

Hi,

what's the point in checking for every 5mins and not every day until 40 days?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader