- 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-06-2024 03:35 AM
@Ankur Bawiskar , I have tried with Script Action also, but i am unable to select output 'waitTime' in the flow. please check the script attached screenshot.
Please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2024 04:23 AM
2 changes
1) in system property the value should be like this for 2mins. use this for testing
1970-01-01 00:02:00
if you want it for 300 seconds then update it like this (300 seconds is 5mins)
1970-01-01 00:05:00
2) then the action output should be of type duration
it worked for me -> I gave 1min timer and it's waiting for 1min
Action output type should be Duration then only you can select it in Wait for logic
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-06-2024 05:19 AM
Hi @Ankur Bawiskar , kindly let me know what type i have to select in the 'system property'.
i have tried with this on 'time format'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2024 05:23 AM
property should be of string type
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-06-2024 05:33 AM - edited ‎12-06-2024 05:48 AM
Hi @Ankur Bawiskar , Sorry to asking this, Action Output: timer: Empty output value cannot be blank on publish., kindly let me know what I have to select. if we given here duration days again calling system property by using script action is useless. so please suggest
and i need property value calculate exact 7 days(7*24*60*60) of time, so what I have to add in the property, please let me know.