Wait for condition in flow - to wait until a attachment is attached on ritm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
39m ago
Hi @AkshataP30 ,
Using Do the following until loop logic combined with a Look Up Records or script action checking sys_attachment (filtering by table_name and table_sys_id = your task/ritm record) inside the loop, add a Wait for Duration timer inside that loop so the flow doesn’t exhaust resources or timeout,....then, use flow variables to pass in and remember the record sys_id, and ensure that the flow has permission to read sys_attachment; once the attachment is present, the loop condition becomes true and the flow proceeds...
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10m ago
It would be easiest to create a Business Rule which updates an unused or re-purposed field on the sc_req_item record when an attachment is added. Then your flow just needs to wait for the field on the trigger record to meet a condition (whatever value your Business Rule sets it to).