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
RajashriRajashri 

Workflow Rule:Targer Date greater than today

Hi,

 

I am trying to create Workflow rule where Target Date greater than Today()

 

but it is giving me an error  Error: Invalid date (Valid date format 11/14/2013)

 

Target Date is the field with Date Type.

 

Can anyone tell me how to resolve this error

 

 

Best Answer chosen by Admin (Salesforce Developers) 
testrest97testrest97

did you give today or today()......just give today

All Answers

testrest97testrest97

did you give today or today()......just give today

This was selected as the best answer
Stephanie_ArceStephanie_Arce

You can't do this through the UI where you have the workflow criteria based on a relative date like "today". If this is something applicable to all records you could have a workflow run on all new records (on insert) and then have a time trigger on the workflow, based on the Target Date.

RajashriRajashri

Thanks a lot!