Accessing newly created case record in AFT

Emmanuelck
Tera Guru

Hi All,

 

I am trying to create an end to end test in ATF that requires me to create a case as an external user and open it as an itil user. 

I am able to create the record and validate the fields, but once I try to open the record with an itil user, I get the error: "Step execution failed with error: Cannot read properties of null (reading 'inputs')".

Screenshot 2023-12-06 150718.png

 

Here is the output for reference:

Screenshot 2023-12-06 150756.png

 

I have tried opening the record using the reference from step 6 (record submission) as well as the one from step 7 (record query), however I get the same error every time. 

I also tried to debug the test and tried accessing the record manually before rollback and I can access it without any issues.

 

Would anyone know what is causing this issue?

Any help would be welcome.

Thank you

1 ACCEPTED SOLUTION

Hi Thank you for your reply. The issue was fixed already. 

The solution you proposed wouldn't have worked since the user could not access the record. All the further actions on the record would have failed also. 

The access to the record was blocked by an ACL (https://xxxxxx.service-now.com/sys_security_acl.do?sys_id=aca85b6873202300c79260bdfaf6a705). I just added the user role to the ACL and it fixed the issue. 

 

 

View solution in original post

2 REPLIES 2

Shaqeel
Mega Sage

Hi @Emmanuelck 

 

Just ignore the error and uncheck the following and run.

Shaqeel_0-1702546612192.png

 

Regards

Shaqeel

 


***********************************************************************************************************************
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

Hi Thank you for your reply. The issue was fixed already. 

The solution you proposed wouldn't have worked since the user could not access the record. All the further actions on the record would have failed also. 

The access to the record was blocked by an ACL (https://xxxxxx.service-now.com/sys_security_acl.do?sys_id=aca85b6873202300c79260bdfaf6a705). I just added the user role to the ACL and it fixed the issue.