We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Error Message while creating RITM

ShaziyaS1041050
Tera Contributor

HI All,

I am getting the following error while creating Request from portal even if the scope is in global or custom application scope

ShaziyaS4380655_0-1769150511809.png

 

 
 

Your guidance is greatly appreciated!

2 ACCEPTED SOLUTIONS

Its_Azar
Kilo Sage

Hi there @ShaziyaS1041050 

This iss scope restrictions. Even if your app is in Global or a custom scope, the Catalog Item / Flow / Script creating the RITM is trying to access a global resource i guess.  check these

 

  • the Catalog Item, Flow, and related Script Includes are all in the same scope, or

  • Mark required Script Includes as Accessible from → All application scopes, or

  • Move the logic to Global if it must access global resources

 

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.

Kind Regards,
Azar
Serivenow Rising Star
Developer @ KPMG.

View solution in original post

AednaR
Tera Expert
Hi,
The error is not caused by the application scope you are currently in
  It is caused by what the Service Portal request flow executes under the hood, so  scoped script include might be being called try finding that script include and changing its scope to global as well.

View solution in original post

2 REPLIES 2

Its_Azar
Kilo Sage

Hi there @ShaziyaS1041050 

This iss scope restrictions. Even if your app is in Global or a custom scope, the Catalog Item / Flow / Script creating the RITM is trying to access a global resource i guess.  check these

 

  • the Catalog Item, Flow, and related Script Includes are all in the same scope, or

  • Mark required Script Includes as Accessible from → All application scopes, or

  • Move the logic to Global if it must access global resources

 

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.

Kind Regards,
Azar
Serivenow Rising Star
Developer @ KPMG.

AednaR
Tera Expert
Hi,
The error is not caused by the application scope you are currently in
  It is caused by what the Service Portal request flow executes under the hood, so  scoped script include might be being called try finding that script include and changing its scope to global as well.