Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to set a dynamic duration Type value in Wait for duration of time Flow designer?

brandongtr04
Tera Contributor

I am trying to create a delay with a dynamic value, i created an integer flow variable but when i try to use it in the "wait for field" data pill picker it does not support it

What can i create to use it as a dynamic value there?

Captura de pantalla 2026-02-18 154309.png

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@brandongtr04 

if you are using "Explicit Duration" then that's not possible

you should set "Relative Duration" and use 1 seconds after that Flow Variable -> Date/time value

You should store some date/time in future in that flow variable using "Set Flow Variables" flow logic

AnkurBawiskar_0-1771472049756.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@brandongtr04 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Kilo Patron

Please refer this links, see if it helps you:

https://www.servicenow.com/community/servicenow-ai-platform-forum/flow-designer-wait-for-a-duration/...

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

brandongtr04
Tera Contributor

I made this work, but i needed to create a custom action, and then set a "Duration" type variable as an output, then use that as a variable in the Wait for duration of time action using the "Explicit Duration" option
If you use flow variables, that "Duration" variable type option is not available