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
Allister McKenzie 10Allister McKenzie 10 

Error: Function REGEX may not be used in this type of formula

I am using the REGEX function in a workflow rule, but I keep getting an error

Error: Function REGEX may not be used in this type of formula

I checked https://help.salesforce.com/htviewhelpdoc?id=customize_functions_i_z.htm&siteLang=en_US#REGEX (https://help.salesforce.com/htviewhelpdoc?id=customize_functions_i_z.htm&siteLang=en_US#REGEX) and it says that REGEX is available everywhere except formula fields and custom buttons.

Can anyone tell me why this is not working? 
RecordType.DeveloperName = 'IT Case' && REGEX(Description, 'RegEx_Text')

 
William TranWilliam Tran
What is this?  a validation rule?  what are you trying to do?

Thx