Error message when i click on my tasks on EC_PRO

Marta G
Mega Guru

Hello All,

under my active items we have an item called ''my tasks''. When i click on it, i get a series of error messages 

MartaG_0-1710335799787.png

 

 

Any idea why?

 

Thanks

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Marta G 

 

Issue is in widgets. Need to fix this. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Marta G
Mega Guru

Hi Atul, 
yes i imagine the issue is in the widget. could you be a bit more specific please? what should I change? 

MartaG_0-1710336786977.png

 

thanks
Marta

 

Hi @Marta G 

 

With my personal experience, the issue is may be you installed new plugin which has portal and causing this issue. I found many time these issues in my pdi.

 

To fix this:

 

You need to fix these widget liee code

 

AGLearnNGrow_0-1710337041822.png

 

 

 

 

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

From what I can see in the error, it's stating that it cannot find a function called "getTaskConfiguration". I don't see this method being invoked within your code. Have you tried running the Script Includes code via scripts background? 

A few things to check:
A. Does the scope in which the widget is defined have access to the script includes scope?
B. Is the method a Static or a normal one. Example of normal one would be GlideRecord where you do new GlideRecord, example of a static script includes is GlideSystem where you just do gs.info, no new operator there. 
C. In the error it's showing a Sys_ID + a Line where the script fails. So I assume that A and B are okay for the entry method but might be broken down the chain. 

 

From what I see from the errors, this seems like an issue within the Script Includes rather than the widget 

 

Happy debugging 🙂