Function print is not allowed in scope sn_uxc_gen_ai. After plug in upgrade

GM5
Tera Guru

Hello,

 

After upgrading the Now Assist for IT Service Management(ITSM) to the latest version (13.0.10 when this post was written) we started to get this error message on every RITM and Catalog task forms

Function print is not allowed in scope sn_uxc_gen_ai. Use gs.debug() or gs.info() instead

GM5_0-1776282296054.png



I've cheked all business rules, script includes related to this table and haven't found anything... please help

1 ACCEPTED SOLUTION

Issue has been fixed, we upgraded to 13.0.11 and message is gone. So basically it was just outdated plugin.

View solution in original post

8 REPLIES 8

Excellent @GM5 thansk for sharing the resolution!

_____
Answers generated by GlideFather. Check for accuracy.

Tanushree Maiti
Kilo Patron

Hi @GM5 

 

Either use Use gs.debug()gs.info()gs.warn(), and gs.error(), as these are available in both scoped applications and global scope.

 

OR 

As per KB article : KB0788208 Why doesn't gs.log work? 

 

Can you try with

Solution: Use ms.log() instead. The log entries will be found in the Agent Log of the MID Server.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Sorry the issue is not about we coding, no code has been involved here everything started to happen After a plug in was installed as mentioned on initial post, our instance is very vanilla very low customization and coding. Thanks for your suggestion but this is not our case.

Hi @GM5 ,

Great to know that issue has been fixed.

 

My bad - it seems Other post's answer mistakenly ,I added here. Kind of a wrong window.🙄

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: