- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 07:31 AM
I have a system property and the type is Integer, and the value is 300. After the trigger condition wait 300 seconds of time then execute the remaining flow. But waiting time need to be dependent on the system property value. Can you please help me on this.
If use script action to wait the time please let me know what is the input and output I have to take and what are types needs to take.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2024 05:42 AM
exit the edit mode and then set the value using data pill on that output variable
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 08:09 AM
this link has solution
how to set time to wait for in flow designer using data pill picker?
sharing steps here
Backend
1. Create sys property "my.duration".
2. Set the value of this property to value "1970-01-01 00:05:00". (5 minutes waiting)
Flow designer
3. Create Flow variable "My duration"
4. Insert action "Set flow variables" anywhere before your "Wait for" action, add "My duration" and set its value via script like this: return gs.getProperty("my.duration");
5. Update "Wait for" action by dragging the "My duration" pill over the "Wait for" input.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 05:22 PM
Hi @Ankur Bawiskar , I have tried this but I am unable to select "My duration", it was showing as gread out. Can you please let me know what I have to add exact 7 (7*24*60*60) days of time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 07:08 PM
share your flow configuration screenshots
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 07:42 PM - edited ‎12-05-2024 11:32 PM
Please check the attached screenshots, after the Set Flow variable(2nd step) i am adding 'wait for duration of time', but i am unable to select the Flow Variable or property value.
testing purpose i have given 120(2 minutes) in the system property.
tried with wait for condition also, here duration is not taken the Integer value so I have stored in another flow variable and tried