Advanced reference qualifier not working in ServiceNow Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 08:56 PM
Advanced Reference qualifier not working in ServiceNow workspace. As same functionality working as expected in Classical UI.
I tried with the attribute "ref_qual_elements" but it's not working in workspace
Thank in advance
Shrikant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2025 10:12 AM
What is the field name of Business unit? also, can you share the logic of the departmentsName Method.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 01:49 AM
Hello @Voona Rohila ,
Business Unit field is coming from department table so field name is cmn_department.business_unit.
Based on the Business unit "departmentsName()" method will return the departments.
Logic is working as expected in classical UI. problem is with the workspace.
Thanks,
Shrikant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 01:57 AM
Reference qualifier works same in both classic UI and Workspace
So you are passing department Business unit name in department field reference qualifier?You have to pass the Business unit details in your reference qualifier to get the departments based on BU value.
Can you share the SI logic too?
javascript:new global.getdepartment().departmentsName(current.business_unit); //pass the BU Value.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 02:25 AM
Hello @Voona Rohila ,
please find the SI logic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 02:30 AM
You have to pass the BU Value from your Reference qualifier.
javascript: new global.getdepartment().departmentsName(current.business_unit); //pass the BU Value
Also, make sure your SI is accessible from all scopes?
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP