issue of reference field in workspace

mahesh_03
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 @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:

  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

Simon Christens
Kilo Sage

Hi,

Im currently working on the same issue which seems to impact all types of reference fields as well as lists (watch list ect) in workspaces.

I suspect out of date plugins to cause this issue as it works in 1 instance but not the other.

I will update the post with my findings

Simon Christens
Kilo Sage

I have updated the following plugins:
UI Builder
App Engine Studio
Workspace Builder For App Engine Studio

After that I cleared the cache in SN (cache.do - twice)

Close browser and start it - logging in.

 

Both Reference fields as well as lists now works as intended

hi @Simon Christens 
I will try from my end too if does it works will let you know thank you

It seems a bit inconsistant - you could also try and create a new workspace for testing after the updates to see if that works - and retry the old one to see if anything changes.

To me it acts like some older workspaces are somewhat stuck loading old components.
Im still checking up on other workspaces though some of them does indeed work

 

Update:

It seems like time is your friend after updating the plugins - give it some time, maybe a couple of hours afterwards and then recheck in case they are not fixed right away.

To me, workspaces that didnt work immediately start working after some time. Might be cause of script libraries needed to reload with some update code.