Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to set due date in flow designer

Sanjay Kumar10
Tera Expert

Could you please help me to set 10 days from now on due date field using flow designer.

 

@jaheerhattiwale 

@Sandeep Dutta 

@RaghavSh 

6 REPLIES 6

Erik Bruns
Tera Contributor

Hello Sanjay,

I was able to set the due date in 10 days in flow designer in the following way:
1. Define a flow variable with the string type

2. In a Set Flow Variables step, set the value of the variable to "return gs.daysAgo(-10);"
3. In the Update Record step, add the variable to the Due date field

 

This should set the due date 10 days ahead of time.
Hope this helps.

Hi, I used your code for my requirement but my issue is the due date is set in UTC while open field is EST time. Anything I can do to match open time when it calculates Due date for time zone? as you see the due date should be 2 days exactly but its showing UTC time not EST as the open field. Thanks

SusanHammiche_0-1678043024175.png

 

 

Hello, how do you handle schedule?

for example,delivery 1 calendar day (meaning 24business hours= 3  work days) ?

 

If ritm is created on Friday morning,than ritm due_date should have end of Tuesday —> schedule 8-16 weekdays

@Petr Pastuszek  - i have the same question. Did you ever get a resolution for this?