function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shawn WilfongShawn Wilfong 

Process Builder TODAY() Please enter a valid date.

Hello,
I'm using a workaround of using the created date of the object, but whenever I try to use TODAY()  as the value for a date field, it tells me to enter a valid date.  Can you think of any reason why this would be?User-added image
Best Answer chosen by Shawn Wilfong
Maharajan CMaharajan C
Hi Shawn,

You have to enter like below:

User-added image

User-added image


Can you please Let me know if it works or not!!!

If it helps don't forget to mark this as a best answer!!!

Thanks,
​Raj


 

All Answers

Maharajan CMaharajan C
Hi Shawn,

You have to enter like below:

User-added image

User-added image


Can you please Let me know if it works or not!!!

If it helps don't forget to mark this as a best answer!!!

Thanks,
​Raj


 
This was selected as the best answer
Shawn WilfongShawn Wilfong
Well man, that should have been obvious.  Thank you so much for your help!

-Shawn
Tahir Sheikh 18Tahir Sheikh 18
Good solution. But what if I am using a Date/Time field? How do I structure the formula? I get this error if use just TODAY():
"The formula expression is invalid: Formula result is data type (Date), incompatible with expected data type (Date/Time)."
Maharajan CMaharajan C
Hi Tahir,  

Try with the NOW() function.

 Thanks,
Raj
Howard Lubinger 6Howard Lubinger 6
Any idea how to set it to be TODAY + 365 days?
Maharajan CMaharajan C
Hi Howard,

Try same like in the above screenshot but update the formula as like below:

TODAY() + 365

Thanks,
Maharajan.C

 
Nilesh SuryawanshiNilesh Suryawanshi

Hi All,
I have a situation where I'm getting a date field from lead to opportunity, and I have approval process on the same field.
So while converting lead it is giving me a error as Record can be in one Apporval Process at a time.
I want to convert lead into Opportunity and then it will go to approval.

Please help.

Thanks in advance
Nilesh