- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 05:02 AM
Hi all,
I am facing an issue with the Assignment Group field. I have applied a reference qualifier to this field, and it is working correctly as per the configuration in both the Workspace and the Native UI.
However, in the Workspace, when I try to change the Assignment Group using the magnifying glass icon, it shows the expected groups. But when I select one of the groups, it is not being applied to the field. On the other hand, if I type a word in the field to search, suggestions appear, and I can successfully select the Assignment Group this way.
The issue seems specific to selecting an Assignment Group using the magnifying glass icon in Workspace. I have checked other OOTB Workspace reference fields, and they work fine with the magnifying glass icon.
If anyone knows the root cause or has a solution, your help would be greatly appreciated.
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 03:34 AM - edited 12-04-2024 03:35 AM
Hi @mahesh_03
According to ServiceNow its duo to a misconfiguration of the workspace.
Please see:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1645501
Follow the below steps for the issue to be fixed:
- Open the page variant that is affected in the UI builder
- Go to settings
- Click the dropdown under 'Actions' & select 'Page definition' - this will open the sys_ux_macroponent record
- Scroll down to the composition section
- Within this section, scroll down till you find the elementId: "modalContainerViewport"
- Scroll down till you find operationName: RECORD#CLOSE_MODAL
- Go to extensionPoints method
- Here, replace the empty value ("") of "controllerElementId" with "record" & save the form.
- Close the workspace & test the issue, notice the issue is fixed & value gets populated.
Here is the screenshot for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 11:01 PM
The present issue is in new workspace only and coming to older ones it is working fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 11:11 PM
As stated - try give it some time and recheck - it helped me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 11:13 PM
Okay thanks and I'll wait and check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 10:45 PM
The problem might be tied to how the Reference Qualifier or field settings are behaving specifically in Workspace. Here are a few things you can try:
Double-check the Reference Qualifier:
Make sure the qualifier isn’t doing something that resets or blocks the selection when using the magnifying glass.Look at Client Scripts and UI Policies:
Sometimes, scripts or UI policies tied to Workspace can interfere. Check if there’s anything that might be overriding the field value after selection.Review the Field Mapping for Workspace:
Ensure the field is correctly configured in the Workspace view. Mismatches here can cause strange behavior like this.Use the Developer Console:
When you select the Assignment Group with the magnifying glass, check the browser’s console for errors. This can give clues about what’s going wrong.Test with a New Field:
Try creating a new reference field pointing to the same table with the same reference qualifier. If it works, there might be an issue specific to the original field.Check for Workspace Updates:
If none of this helps, it might be a bug. Check if there are any updates or patches available for your Workspace version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 03:34 AM - edited 12-04-2024 03:35 AM
Hi @mahesh_03
According to ServiceNow its duo to a misconfiguration of the workspace.
Please see:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1645501
Follow the below steps for the issue to be fixed:
- Open the page variant that is affected in the UI builder
- Go to settings
- Click the dropdown under 'Actions' & select 'Page definition' - this will open the sys_ux_macroponent record
- Scroll down to the composition section
- Within this section, scroll down till you find the elementId: "modalContainerViewport"
- Scroll down till you find operationName: RECORD#CLOSE_MODAL
- Go to extensionPoints method
- Here, replace the empty value ("") of "controllerElementId" with "record" & save the form.
- Close the workspace & test the issue, notice the issue is fixed & value gets populated.
Here is the screenshot for your reference.