- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2023 08:22 AM
Hi all,
I've built Problem Task creation using Flow Designer. I now need to set due dates for each individual task as follows:
Monitoring & Alerting - due date is 14 days from date of creation
Log capture - due date is 24 hrs from date of creation creation
Create Knowledge Article - due date is 14 days from date of task creation
Root Cause Analysis - due date is 7 days from date of task creation
Ideally I'd like to keep all config within Flow Designer however I would be happy to utilise other tools on the platform to get this working.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2023 09:44 AM
Hi @GMoon
If you are struggling to figure out the due date of PTASK within the flow designer, you can simply use the inline script in task creation action against the due date field like the one shown below.
var due_on = new GlideDateTime();
due_on.addDaysUTC(14); //You can change number of days as per your task requirement
return due_on;
Please let me know if you need any further help.
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2023 09:44 AM
Hi @GMoon
If you are struggling to figure out the due date of PTASK within the flow designer, you can simply use the inline script in task creation action against the due date field like the one shown below.
var due_on = new GlideDateTime();
due_on.addDaysUTC(14); //You can change number of days as per your task requirement
return due_on;
Please let me know if you need any further help.
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2023 08:13 AM
That's worked perfectly, thanks very much.