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

Getting error to fetch sctask using record query after create user step in ATF

TanviP003244604
Tera Contributor

 

 

Hello community,

I am creating ATF to test catalog item where I am trying to fetch sctask record using record query and giving condition request is (using data pill to get oder catalog item step) but it's fetching record when I run ATF by impersonating myself (admin) but when I create user with ITIL role, it gives error no record found matching query.

 

I am creating user after order catalog item step. 

6 REPLIES 6

Hi @TanviP003244604 

 

Try giving admin role to created user, if it works then there is just role issue that you need to provide.

 


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

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





Regards

Shaqeel

Sardash
Tera Guru

@TanviP003244604 - Can you share your Test Script here