Flow designer flow - how to wait until a specific record is created in a specific table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2025 02:46 AM
Flow designer flow - how to wait until a specific record is created in a specific table:
I am working on building a catalog flow- where I need to update VMI records using Obj ID. This record will be created via vcenter discovery . Catalog flow should look for the VMI based on teh Obj ID entered in the RITM and once found it should update the VMI with group and owner info.
If I give fixed wait till - like 24-48 hours - even if there is a matching record - flow will still wait. I want to exit when the match found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
I like this solution a lot. I would maybe do Look Up Records (instead of Record) and if the Count is 0 (zero), increase the loop counter, and then instead of making the Until the Loop Counter is 5 or whatever, do Until record look up Count is 1. Then continue.
You could have an IF branch after increasing the Loop Counter to a certain threshold, take an action like email a Group or close a record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi,
Thanks for the feedback.
The decision to use a Look up record instead of a Lookup records is based on the question which was aimed at finding a very specific record, and not a count of records.
But yeah, both could work.
Regarding the loop I wouldn't want to risk a neverending loop if the record is never created.
I rather build in some other fail safe exit-condition, but again that's just my way of thinking. It's up to the person implementing to decide on the exit-condition, as I just gave a simple example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2025 03:00 AM
I am unable to select the VMI table in this wait condition:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2025 03:55 AM
@chaithra10 what's VMI table? 😛
100 % GlideFather experience and 0 % generative AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2025 04:09 AM
Why not handle the further logic in the flow which gets triggered on the Other record insertion itself?
Another way
Try to use 'Do Until' and query for the record with a wait timer in it, and if the query fetches the record, the until stops. Ensure your Do Until doesn't go in infinite loop
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
