Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

issue of reference field in workspace

maheshchokk
Tera Expert

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!

mahesh_03_0-1733144466972.png

 

 

1 ACCEPTED SOLUTION

Hi @maheshchokk 

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:

  1. Open the page variant that is affected in the UI builder
  2. Go to settings
  3. Click the dropdown under 'Actions' & select 'Page definition' - this will open the sys_ux_macroponent record
  4. Scroll down to the composition section
  5.  Within this section, scroll down till you find the elementId: "modalContainerViewport"
  6.  Scroll down till you find operationName: RECORD#CLOSE_MODAL
  7.  Go to extensionPoints method
  8.  Here, replace the empty value ("") of "controllerElementId" with "record" & save the form.
  9. Close the workspace & test the issue, notice the issue is fixed & value gets populated.

Here is the screenshot for your reference.

SimonChristens_1-1733312120889.png

 

View solution in original post

11 REPLIES 11

Not applicable

hi @Simon Christens 
Thanks for the response I'll try the above approach and let you know whether it work for me or not

Thanks @Simon Christens now it is populating the value