- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 03:01 PM
Hello all,
I posted another question similar to this, but I thought I'd make its own thread. I have a workflow with 5 approvals that are triggered simultaneously. I also have a date field on the form called (Testing completion date). My requirement is to have a timer on the workflow where the approvals need to be approved by the testing completion date, which will most likely be 2-3 days after form submission. After the timer a task should be triggered. I know people suggested manual approvals or a timer workflow activity, but I'm not too sure on how to achieve this.
any recommendations?
Thanks in advance!
Grace
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2019 05:40 AM
In the timer based on dropdown, you have the option to choose either script or "A date/time or duration field".
If you select "A date/time or duration field". option, then you can choose the field based on which you want to set the timer.
If you select script option, then you can query and get the value of the variable something like
return current.variables.your_variable_name
or write a script and query if its some other value from DB.
Mark the comment as a correct answer and helpful if it answers your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 05:19 PM
Use The Timer activity it pauses the workflow for a specified period of time.
Set 'answer' variable to the number of seconds for the duration.
Use date difference for calculation gs.dateDiff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2019 10:54 AM
Hi Ankush,
Thanks for the response! When the workflow is paused, are the approvals still triggered?
Also, I want it to be paused until the "Testing completion date" that is specified on the catalog item.
Thanks,
Grace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 05:41 PM
Use "wait for condition" activity to check if the current date is greater than 3 days after the testing completion date and then once this condition is satisfied add a Create TASK activity.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 10:21 PM
Hi,
You can use timer activity to pause the workflow for 3days or for specific time.
Mark correct/helpful based on impact.
Thanks,
Dhananjay.