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
3 hours ago
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
3 hours ago
Hi @chaithra10,
in your flow, you can use this "Wait for condition" action:
Then add the condition or use flow variables and scripting to achieve what you need
This reply is 100 % GlideFather and 0 % AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi,
You can create a Flow that triggers when a Record is created on a specific table with some specific conditions.
In this case I guess you're trying to use the "Wait for condition" action, which can only monitor existing records, not wait and trigger on a new record being created.
As a workaround, you could do a loop that waits for a specific time period, then do a lookup and see if the specific record has been created, and if so move on, otherwise continue looping and waiting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
how to do the loop condition? Record will be created some time later - not during when this RITM is closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
34m ago
You can use the do-the-following-until flow logic.
Providing a simple example below (with the usage of a flow variable):
