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-14-2023 06:28 AM
Yeah its a custom action.. we have disabled the state field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 08:00 AM
Just tried in my PDI creating new UI action , worked fine
Can you go to script include/BR table tables look for script contains "getMyAssignments"
if you find this function, do a "Find references" and see where this has been called , you may get some lead.
Something like this:
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 05:46 AM
that message seems not to be coming from your UI action.
possibly some script/BR is running on state update and it has that function
getMyAssignments
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 06:29 AM
Hey @Ankur Bawiskar ,
I have Checked almost every wer i dont c the getting called in any BR or script. i get the below error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 07:09 AM
definitely it's nothing to do with your UI action.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader