Creating Dependency Between Two Glide List Fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Suppose I have two Glide List type fields: Category and Sub-category, each with three choices — A, B, and C. The requirement is:
- When the user selects A in the Category field, only A should be visible in the Sub-category field.
- Similarly, selecting B or C in Category should restrict Sub-category to show only the corresponding value (B or C respectively).
In other words, the Sub-category field should dynamically display only the value that matches the selected Category.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Any reason you have same choices in both the fields?
Doesn't look like a valid business requirement
💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Its just for demo purposes, and the real requirement involves different choices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 4 hours ago
Assuming these are both just choice fields you can set field dependency on the Sub-Category field.
Setup your Category field first, then when configuring the Sub-Category field under the Dependent Field tab make sure 'Use Dependent Field' is checked and then select the Category field as the Dependent on Field. This will add a Dependent Value attribute to each choice you configure under the choices for Sub-Category. If you need a choice to appear for multiple categories then you must create a sub-category choice for each category you want it to appear with.
Keep in mind that the Dependent Value attribute for each sub-category choice needs to reference the value for the Category choice associated with it and not the label.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
This method works only for Choice fields.Here we're using Glide List, then this method will not work.