[SalesForce] Validation rule for new record

I'm trying to add a validation rule for a custom field(Service_Date__c) in Case object. If a Service_Date__c > today(), then error message should be displayed as :

Service Date should be greater than today

But the rule should fire only for new records. I tried like this :

ISNEW(Service_Date__c > today())

Error: Incorrect number of parameters for function 'isnew()'. Expected
0, received 1.

What am i missing? How to do this?

Best Answer

Try this,

ISNEW() && Service_Date__c <= today()

IsNew doesn't neeed any parameter. It returns true for insert and false for rest.

Related Topic