• Allister McKenzie 10
  • NEWBIE
  • 40 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 1
    Replies
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, '[A-Z]{3}[0-9]{1}')