Can I make the "starts with" Operator in condition builder to be case insensitive?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 04:07 AM
I'm using condition builder and want the "starts with" operator to be case sensititve
i want it to evaluate to true if it starts with MO/Mo/mo/mO
so i don't want to make 4 Condition with OR
is there a way to make it in single condition?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 04:26 AM
You can write Script instead of 4 condition
if(/^(MO|Mo|mO|mo)/.test(current.your_field_name))
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 04:38 AM
nope, I don't think it's possible.
the only way is to use 4 conditions
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader