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

Record is not creating in target instance when impersonated with other user

Kumar147
Tera Contributor

Hello, 

I am working on REST Api for creating records in target instance. When i tested it by impersonating other user its not creating any record in target instance, but creating record for me.

 

please help me in this. Thank you in advance

1 ACCEPTED SOLUTION

Good mate, please close the thread by accepting the answer.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

5 REPLIES 5

Dr Atul G- LNG
Tera Patron

Hi @Kumar147 

Other use has all required access you have? in ACL blocking to see the record.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hello @Dr Atul G- LNG 

other user has itil access and will able to see the record, but not creating a record in target instance

Hi @Kumar147  Do they have role to access API, else log a now support case buddy.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG 

its get fixed. Issue is in Oauth credentials.