Skip to main content

Hello Community,

Question about Validation Rules and LEX:

 

I have a validation rule,on Events, that prevents users from changing the dates.  Issue being when I'm creating a new Meeting and I change the dates, while creating the meeting, it triggers the validation rule.  Anyone know of a workaround for this?  Here is rule:

 

OR(

AND(

OR(

ISNEW(),

ISCHANGED(ActivityDate),

ISCHANGED(ActivityDateTime)

),

IF(IsAllDayEvent, ActivityDate, DATEVALUE(ActivityDateTime)) > TODAY()

),

AND(

OR(

ISNEW(),

ISCHANGED(DurationInMinutes)

),

IF(IsAllDayEvent, ActivityDate, DATEVALUE(ActivityDateTime)) + DurationInMinutes/1440 > TODAY()

)

)

 

Thanks,

Shane

6 commenti
0/9000