File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
GlideFilter/CaseSensitiveSearch Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -49,3 +49,28 @@ if (filter.match(gr, true)) {
4949✅ ACL-aware
5050✅ Easier to maintain
5151✅ Consistent with UI filters
52+
53+ ## GlideFilter Utility
54+
55+ 🧠 ** Why Use GlideFilter?**
56+
57+ | Feature | GlideFilter | Regex / If |
58+ | ---------------------------------| -------------| ------------|
59+ | Security-aware (ACLs) | ✅ Yes | ❌ No |
60+ | Case sensitivity toggle | ✅ Yes | ⚠️ Manual |
61+ | UI-like filter syntax | ✅ Yes | ❌ No |
62+ | Easy to read | ✅ Yes | ❌ No |
63+ | Scalable & reusable | ✅ Yes | ❌ No |
64+ | Compound condition support | ✅ Yes | ⚠️ Complex to build |
65+
66+ 💡 ** Use Cases**
67+ - Normalizing environment values (prod, dev, test)
68+ - Standardizing priority or category values
69+ - Filtering GlideRecords based on secure, compound conditions
70+ - Any script where you're mimicking UI filter logic in code
71+
72+ 🛠️ ** How to Use**
73+ 1 . Go to ** System Definition** → ** Scripts - Background** .
74+ 2 . Paste the script above.
75+ 3 . Click ** Run Script** .
76+ 4 . Check ** System Logs** (gs.info) to verify updates.
You can’t perform that action at this time.
0 commit comments