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
AmitabhleoAmitabhleo 

Visual Workflow Date field does not allow {!$Flow.CurrentDate} + 30

Hi Anybody, who took the TrailHead. Visual Workflow challange, I am not able to change the close date of the Opportunity by adding 30 days to it.

{!$Flow.CurrentDate} + 30 does not let me save.

thanks in Advance
Amitabh
Siddharth ManiSiddharth Mani
Try putting it ({!$Flow.CurrentDate} + 30) in a saved Formula in the Flow (say setCloseDate or something) and use the Formula to set the date value instead. Should work!
KaldiaKaldia
I am having the same problem
KaldiaKaldia
Formula should be TODAY() +30
Greg Purcell 1Greg Purcell 1
Yes, a forumula as Siddharth suggested worked for me.

User-added image

 
Troy CenterTroy Center
Why did Siddarth get thumbed down. Worked fine for me. I needed parentheses. Thanks Siddarth. (troy)
Of course I bumped by Formula to ({!$Flow.CurrentDate} + 1095) = 3 years. 

User-added image