0

I want a validation rule that should prevent users from changing the status of a case to close before 9am. I wrote the following rule but it is giving me missing ')' syntax error:

AND(
    ISPICKVAL(Status__c, "Closed"),
    TIMENOW() < TIMEVALUE(08:00:00) 
)

1 Answer 1

2

The time you pass to TIMEVALUE() needs to be enclosed in quotes (single or double).

TIMEVALUE("09:00:00")

1
  • thank you Derek this worked for me.
    – Marjan
    May 25, 2023 at 11:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .