Pattern in Event Type

MarcoIvánM
Tera Contributor

Hello,

 

I'm trying to create a pattern for an event type (em_event_type). I need to recognize a specific event type in event (em_event) and be case-sensitive; that is, the type "AzCb" should be recognized even if it's written as "AZCB", "azcb", "aZcB", "azCB", etc.

 

I tried the following formats:

  • (?i)\bAzCb\b
  • [Aa][Zz][Cc][Bb]
  • [A|a][Z|z][C|c][B|b]

 

But the result is always that ServiceNow doesn't recognize it, creates a new event type record called "Azcb1", and ignores the pattern. I'm working on an instance in Yokohama, so the patterns should be functional.

 

Could someone lend me a hand?

 

Best regards.

2 REPLIES 2

SP22
Giga Sage

Hello @MarcoIvánM,

Could you please use below pattern.


^[Aa][Zz][Cc][Bb]$

Thanks
Santosh.P

MarcoIvánM
Tera Contributor

Hi,

 

I tried the format you suggested, but the result is still the same. The pattern doesn't recognize the value and ServiceNow creates a new Event Type record.

 

Thanks anyway for your reply.

Regards