Need to update in Flow Designer the SCTASK Due date to be 30 days after current date?

Ramanjaneyuv
Tera Contributor

Need to update in Flow Designer the SCTASK Due date to be 30 days after current date?

 

Scenario: We would like to update the due date field in the SC Task form based on the ritm created or the SC task created. Please refer to the screenshot provided below; however, the due date field in the SC Task form has not been updated. I would appreciate your assistance with this matter.

Note: Update due date highlighted below screenshot . 

Please find the below screenshot.

 

Ramanjaneyuv_0-1733769289740.png

 

 

 

 

 

 

Thanks Ram

 

4 REPLIES 4

Bhavya11
Kilo Patron

Hi @Ramanjaneyuv ,

 

in flow designer, for create catalog task action update below 

Bhavya11_0-1733807959381.png

script

var due_on = new GlideDateTime();
due_on.addDaysUTC(30); //You can change number of days as per your task requirement
return due_on;

 

 

Please mark my answer helpful and accept as solution if it helped you.

 

Thanks,

BK

Thanks for the your response .

The due date field has not been updated despite my numerous attempts. Kindly refer to the screenshots provided below.

Ramanjaneyuv_1-1733814697956.png

 

Ramanjaneyuv_0-1733814510911.png

 

Hi @Ramanjaneyuv ,

 

 i have used the simple flow like 

Bhavya11_0-1733921037831.png

where i used this 

Bhavya11_1-1733921102607.png

 

 

 

could you please provide overall flow screenshot

 

Thanks,

BK

What's going on in lines 1 - 7?

UncleRob_0-1733923816626.png