- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 12:59 AM - edited 05-02-2023 02:23 AM
Hi Team ,
As u can see in the below image , Here i have added sub- category and application category based on the category selection . it is OK in Platform level .
If u can see in the portal it is not showing
How to update my reference qualifier
My Reference Qualifer
javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else 'name=incident^element=u_application_category^dependent_value=Lighthouse';
Thanks
@Community Alums
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 09:01 AM - edited 05-02-2023 09:11 AM
@nameisnani
Try the below
javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else if(current.variables.subcategory=='Bottomline SWIFT Gateway')'name=incident^element=u_application_category^dependent_value=Bottomline SWIFT Gateway';else 'name=incident^element=u_application_category^dependent_value=Lighthouse';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 01:15 AM - edited 05-02-2023 01:16 AM
I believe you can achieve this type of functionality using "dependent field", if your field type is Select Box or you have the choices define!
Please choose the field as per your use case this is just an example
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 01:18 AM - edited 05-02-2023 01:21 AM
In Platform level it is working fine , as u can see in my above screenshot , in portal it is not showing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 01:45 AM
Hi @nameisnani ,
Please add this line in the 'variable attributes' , it'll work
ref_qual_elements=subcategory
If my answer has helped with your question, please mark it as helpful and correct.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 02:28 AM
do these changes
1) update ref qualifier as this
javascript: var query; if(current.variables.subcategory == 'CFS Edge') query = 'element=u_application_category^name=incident^value=Platform Support'; else query = 'name=incident^element=u_application_category^dependent_value=Lighthouse'; query;
2) update variable attributes of subcategory as this
ref_qual_elements=subcategory
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