How can we add "wait for duration" flow logic in between of if loops in flow or subflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2023 11:52 PM
Hello,
There are larger flows or subflows that has been created and I want to add wait for duration flow logic to it.
However I dont see any option to add so it in between . How can we achieve that.
example is as below: We have nested if loop I want to add wait for duration after second if , option to add logic doesn't appear in between . Creating entire sub flow again for small change doesn't look appealing either.
Kindly suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2023 12:25 AM
Hi @KiranK2,
You can use the flow logic "wait for a duration of time" as shown below:
Please mark this as correct and helpful, if it solved your query or helpful alone if it lead you in right direction.
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2023 02:19 AM
Thank for your response , However this option will be present while creating sub flow or at the end of it.
I would like to find option that will let me add wait for duration of time logic in between if loop and then logic on already created sub flows or flows
I have subflows that are quite long and I want to add "wait for duration" after if condition until and execute the then logic . I can do this while creating from scratch however same doesn't seems to possible on already created ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2023 02:47 AM
Hi @KiranK2,
When you are writing your then at that time you can use wait for condition and then in the same then you can add your flow logic which you wanted to use just after "If".
Now in Below image, first your 'if' condition will execute and then your timer and post that your whatever you wanted in your then part will execute. What you are trying to achieve it can be done this way. Please let me know if you have any doubt.
Mohit Kaushik
ServiceNow MVP (2023-2025)