Set Due Date on Problem Tasks in Flow Designer

GMoon
Kilo Sage

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!

 

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

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 👍✅

Thanks,
Anvesh

View solution in original post

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

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 👍✅

Thanks,
Anvesh

That's worked perfectly, thanks very much.