- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 12:28 AM
Hi Folks,
We are creating a Record Producer for Hardware table and in this we want to populate Model field as per he Model category selected by the user.
For example : If user has selected " computer " as the Model category then the Model field should show dropdown related to Computer
We have tried Refrence Qualifer but it is showing the whole Model Table data
Tables used:
Model category: cmdb_model_category
Model : cmdb_model
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 01:12 AM - edited 03-19-2025 01:18 AM
You could use a lookup select box type variable with following details:
This works for me.
You can use Reference type variables with the reference qualifier as 'javascript: 'cmdb_model_category='+current.variables.<variable_name_of_model_category>;'
Please check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 01:29 AM
Hello @Preksha Kapoor
I have been working on CMDB cleanup these days and declassifying model category and model is one of the tasks.
But it's actually like You choose the model and model category will automatically populate
Please refer this servicenow Kb Article for the same - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724180
Since they both are reference fields so dependency is mutual.
Kindly mark my answer as helpful and accept solution if it helped you in anyway,
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwN
eEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 01:40 AM
Hi @Reus
This works for me, Thankyou for your help!