- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 04:04 AM
Hi all,
Is there a way to wait for a record to be created in a flow? I have a scenario where part way through a flow I need to wait for a record to be created and therefore can't initiate it through a trigger condition.
Thanks
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 12:50 AM
Hi Steve,
thanks for the clarification.
Because it is happing outside of the flow, why not making a separate flow that triggers on the creation of that record?
If you really want to have the check in the same flow, you can use the 'do untill' and query for the record with a wait timer in it, and if the query fetches the record, the untill stops. (dont forgete to make a failsafe like, if its the 10th time it escapes with an error or something.) Just to prevent infinite looping.
Good luck,
Collin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 04:39 AM
@Community Alums
you can use 'wait for' logic in a flow to wait creation of a record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 04:43 AM
Thanks Satoshi.
Unfortunately I believe this will only work for a record that already exists as you have to "drag and drop record data pill"...unless there is some way to get around this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 05:08 AM
How about using 'wait for action'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 12:04 PM
Thanks Satoshi, I couldn't see it at first, but then realised that is in under Flow Logic!
Yes, using this will be a much better option than using a script loop. I will leave the post open for a couple of days just in case anyone else has any other ideas and then will accept your solution.
Thanks again!