Today while creating a workflow rule, I wanted to use ISNEW() function to check whether a record has been created or updated. The evaluation criteria I had selected was "created, and any time it’s edited to subsequently meet criteria". When I clicked on 'Check Syntax' button, it threw error "Error: Function ISNEW may not be used in this type of formula". I was under impression that it should be available to all criteria, but 'created'. After checking docs, I found that we can use 'ISNEW()' function only with evaluation criteria "created, and every time it’s edited" and it can't be used with evaluation criteria "created" & "created, and any time it’s edited to subsequently meet criteria".
Be careful before deciding upon selection of "Evaluation Criteria" and use of function within!
Be careful before deciding upon selection of "Evaluation Criteria" and use of function within!
Comments
Post a Comment