Getting a error message 'getMyAssignments undefined, maybe missing global qualifier'

Prakyath
Tera Contributor

Hello All,

 

I m facing an weird error message when i click on the 'UI Action' in the workspace issue page.

 

I'm trying to change a state and update the same in the workspace ui action.

i get the below error message. 

Prakyath_0-1689332526914.png

 

below screenshots is what is in the UI action

Prakyath_1-1689332607966.png

 

problem here is that , this error is visible only from the workspace.

please do let me know if anyone has come across this issue.

 

13 REPLIES 13

Vedhavrath_Kond
Tera Guru

The issue is with the Script Include calling in the UI Action condition. "sn_grc_customIssueUtils().hasIssueAccessCheck(current)".  Please refer this link 

https://<instance_name>.service-now.com/sys_script.do?sys_id=d59048357f00000101201a5caa73fc8e

 

Change the Accessible from to "All application scopes" and save, this should solve your problem.

 

Please mark my response as helpful

Hi Vedhavrath,

Thanks a lot for the right BR. deactivating the BR stopped the error msg to appear.

Wat exactly does that BR do. its in a different application 'Global Customizations - Upgrade Plan' in my instance. 

I my Test its in 'Global' Application. 

And its already set to accessible by all application

 

 

Prakyath_0-1689438929956.png

 

Glad it helped! However please don't deactivate it as it is a Global business rule with functions that might be used in many places. One of the use cases is it is used in the approvals widget to show the right approvals. The business rule is from Global application, it is strange to see yours is populating differently. Please find the screenshot for reference. That won't be a problem please raise a high ticket to reset the application of that BR. Or import the XML of the same business rule from PDI. 

 

Please mark my response as helpful, if it solved your issue. Have a Nice Day!

Sure.. Thanks a lot.