- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:47 AM
Hi team,
I have a requirement, where I have to wait for X number of days in the workflow before creating a task, this X days days is taken from a variable of RITM that is single line text, can someone help me with the script.
The workflow has to wait for the above number of days before the task is created.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 05:44 AM
In workflow use "Timer" activity. Do the following
1) Set "Timer base on" to Script
2) Use the below code in script
answer = parseInt(current.variables.<var>.toString()) * 24 * 60 * 60;
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 05:44 AM
In workflow use "Timer" activity. Do the following
1) Set "Timer base on" to Script
2) Use the below code in script
answer = parseInt(current.variables.<var>.toString()) * 24 * 60 * 60;
Palani