filter the configuration item based on the environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 01:26 AM
When the environment is chose as prod. It should not display list of configuration item were its evironment is development, others should be show.
to give in variable the filter it has predefined configuration which will be conflicted.
Please let me how to proceed with this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 02:06 AM
Hi @Arun Priya ,
you want to keep the existing ref and extend it with environment filter?
if yes
add this at the end
replace PutyourEnvironmentFieldNameHERE with environment field backend name
+'^environment='+current.getValue('PutyourEnvironmentFieldNameHERE')
refer the screenshot
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 02:13 AM
Hi @Chaitanya ILCR
The requirement is if the variable environment in the change request form is selected as prod. then it should not display the CI choices having the enironment as development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 01:57 AM
since that field is on task table, you should not touch the OOTB ref qualifier, but you should use Dictionary Override and give your own reference qualifier for your table.
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-17-2025 02:06 AM
If it has an existing dictionary override for that particular variable. Can we create new one. Will it not conflict?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 06:50 AM
@Ankur Bawiskar It does work when I change in dictionary Override. But I need those changes when a variable called environment is selected as "production" it should not show the Ci which has development as the evironment in the CI