Error message when i click on my tasks on EC_PRO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 06:23 AM
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
Any idea why?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 06:30 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 06:33 AM
Hi Atul,
yes i imagine the issue is in the widget. could you be a bit more specific please? what should I change?
thanks
Marta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 06:37 AM
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
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 06:57 AM
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 🙂