iPaaS - date/time expression help

I am currently working on the 'TDX Tickets: Create New Ticket' section of my flow. I want to set the End Date to 2 days after the form is submitted. When I leave a null value it defaults to 4, when I try to put expressions in there, none of them have been right and only give me the current date.  I have read this KB 'https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=139556' and tried the following expressions:
(add 2 to "d" of date(now))

(now in(add 2 to "d" of date(now)))

(set "d" of date (now) to +2)

I have also tried variations of d/dd/days/day. Please can you tell me what expression will accomplish this goal? Thank you

Tags iPaaS
Asked by Justin Goode on Mon 7/8/24 11:55 AM
Sign In to leave feedback or contribute an answer

Answers (2)

This answer has been marked as the accepted answer
David Tod Mon 7/8/24 12:13 PM

now is already a date value. You don't need to convert it to a date. This is from a training flow I created. Also, choose from the options rather than entering "d".

No feedback
So, what you are saying is to create a variable that I can name due date, manipulate that variable, then set that variable in the 'End Date = ____" section in the Create ticket connector yea? I was just trying to put the expression directly in. I will try that and report back. - Justin Goode Mon 7/8/24 12:24 PM

David Tod Mon 7/8/24 12:39 PM

Days is a selection, not entered.

No feedback