Skip to content

Commit 38949f4

Browse files
authored
Update README.md
1 parent 76e2f2e commit 38949f4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

GlideFilter/CaseSensitiveSearch/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)