Set end date 1 year from today via the flow designer

MR1
Tera Contributor

Hi All,

 

I need help to set the End date from today's current one via Flow Designer. 

The end date should be 1 year from today. I am trying accomplish this via sub-flow because of multiple tables

 

Thanks

1 ACCEPTED SOLUTION

Vengadesh
Tera Guru

Hi @MR1 ,

 

You can use Flow Designer inline scripting to populate the date:

var gdt = new GlideDateTime();
gdt.addYears(1);
return gdt;

 FYR : I just added in incident due date field :

Vengadesh_0-1715868876687.png

Try this and let me know whether its helpful

Regards

Vengadesh

View solution in original post

1 REPLY 1

Vengadesh
Tera Guru

Hi @MR1 ,

 

You can use Flow Designer inline scripting to populate the date:

var gdt = new GlideDateTime();
gdt.addYears(1);
return gdt;

 FYR : I just added in incident due date field :

Vengadesh_0-1715868876687.png

Try this and let me know whether its helpful

Regards

Vengadesh