Wait for the user to attach a file on Flow Designer

mfhaciahmetoglu
Mega Sage

Hi all,

 

I have a flow that I set up in the flow designer. At the final stage of this flow, I need to check if the user has added an attachment to the RITM. And only after the user has attached a file (any file), then the flow ends. So, I need a procedure to check until the user attaches a file. 

 

I tried Look up the attachment and search with the sys_id, to see if there is an attachment. But then the flow does not wait for the user to attach a file but immediately stops because there is no attachment. 

 

Any ideas?

 

Thank you!

 

Best,

Firat

  

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@mfhaciahmetoglu 

you can use loop using Do Until and check if file is present or not

Once present the loop will end on its own

Do the following until flow logic 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

mfhaciahmetoglu
Mega Sage

Hi again, 

 

As is usual the case, what i miss was that check box:

mfhaciahmetoglu_0-1704986609440.png

 

If you check that then a Do until with a timer works just fine.

View solution in original post

13 REPLIES 13

Dr Atul G- LNG
Tera Patron
Tera Patron

User is End user or fulfiller?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

End user.

Hi @mfhaciahmetoglu 

 

But why end user need access to backend, Once REQ submitted he/ she can add the attachments from portal only.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Yes, she add the attachment from the portal and we need to check if she did it.