Scripted Rest API user permisions

MehtaHarsh23
Mega Expert

Hi Team,

 

We have a scripted REST API to share our sctask and RITM details. We have setup a integration user for this. But integration user is not able to get any records in response. Response code is 200 but records in response is zero.

 

Which roles we need to give to user?

 

Observation: When we provide admin role it works. But when we try with specific role it does not work.

 

 

1 ACCEPTED SOLUTION

MehtaHarsh23
Mega Expert

We found the issue, Its related to our Data Segregation configuration, Its a business rule after disabling it use is able to get records.

We are still analysing the root cause, but its related to data segregation configuration.

 

Thank you all for your suggestions.

View solution in original post

9 REPLIES 9

J Siva
Tera Sage

Hi @MehtaHarsh23 
Review the read ACLs on the tables and ensure the user record is granted the necessary roles.

Regards,
Siva

Bhuvan
Kilo Patron

@MehtaHarsh23 

 

Try one of itil OR catalog roles to the integration user,

Bhuvan_0-1755687115817.png

If this helped to answer your query, please accept the solution and close the thread.

 

Thanks,

Bhuvan

Not working with ITIL and Catalog roles.

@MehtaHarsh23 

Did you get a chance to check my below response?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader