Can we use is one of UI POLICY condition with string
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 04:03 AM
Hello @MalikB
Yes we can use is one of ui policy condition to get string value in a hidden catalog variable which is having the value populated from somewhere or is having some default value.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 05:04 AM
what's your actual business requirement?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 05:26 AM
@MalikB
It is possible, but it is not recommended, as the text might be replaced or changed in future, it is always better to use some sys_id or option.
If the text is the only method, be sure it is retrieved from a system property and the condition is based on the property not the value of it...
Ensure it is case sensitive or not and beware of the special characters (e.g. ê😞
Movement au sein de la même SA != Movement au sein de la meme SA != Movement au sein de la même sa
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 07:27 AM
hi @MalikB ,
Yes — you can use “is one of” in a UI Policy condition to check if a string field (like a hidden catalog variable) matches any value in a list (e.g., Value1, Value2, Value3).
Just be sure your variable really holds a single string value; if it’s a multi-value field (like list collector), the logic may not work as expected.
