script include showing popup and asking to put role before saving the script.

VIKAS MISHRA
Tera Contributor

I have created one script include and checked the checkbox "Client Callable" aslo, but now when i am trying to save the script inculde its showing one pop up and asking for the user role to add. 

Please see the below mentioned scrensht and tell me what its asking me for the role to add. 

and what role i should add here as i calling this script inculde from one business rule.

 

VIKASMISHRA_0-1675168570982.png

 

2 REPLIES 2

Sai Kumar B
Mega Sage
Mega Sage

@VIKAS MISHRA 

Give the common role assigned to the users who are going to use this Script include functionality. If users don't have that role then they can not execute this script include.

I have done rest api integration with third party tool so that if they will created any incident in thir tool then one incident will be created in my serviceow instance also, so here in my Rest message i have used one API "add attachment, so that i can transfer the atachment from my instanse to their one. so that i have created one Br and in that BR i am calling this script inculde.

So basically now if any user attach any attachment to the incident in my instase then it should be sent to tyird party tool.

Please suggest in this case what role i should be assigned to script inculde here