Workflow wait for a particular time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2014 03:42 AM
Hi,
I have got a catalog item which have a due date field which is 72 hours from now.
So when the item is ordered, a catalog task should get generated and after closing the task another task should get assigned after 72 hours which will be calculated from the time it is submitted.
Till creating of the first catalog task i have done, but i am facing an issue as of how i can make the workflow wait till the time mentioned in the due date field.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2017 07:00 AM
This script works perfectly me for the scenario of waiting until a user-specified date before granting the access,
var answer = gs.dateDiff(gs.nowDateTime(),current.variables.due_date.getDisplayValue(),true);