Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

Yeah its a custom action.. we have disabled the state field

Just tried in my PDI creating new UI action , worked fine 

HemanthM1_0-1689346301443.png

 

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:

HemanthM1_1-1689346753248.png

 

 

HemanthM1_2-1689346792738.png

 

 

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Ankur Bawiskar
Tera Patron

@Prakyath 

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

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

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

Prakyath_0-1689341364268.png

 

 

@Prakyath 

definitely it's nothing to do with your UI action.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader