Getting a error message 'getMyAssignments undefined, maybe missing global qualifier'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 04:04 AM
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.
below screenshots is what is in the UI action
problem here is that , this error is visible only from the workspace.
please do let me know if anyone has come across this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2023 08:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2023 09:37 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2023 09:43 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2023 10:44 AM
Sure.. Thanks a lot.