Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Facing issue in the ATF set variable values(SP)

SindhujaS
Tera Contributor

In ATF Test step, set variable value(SP)

while i am setting the organization field value in the CSM portal

organization(refers to the customer_account table )

I am setting the valid account value but it is failing and showing the failure

failure: failed to set field 'organization' to value 'fe4115ab1bada11002c76283b24bcb6b' because the reference is not valid. 

 

13 REPLIES 13

Sandeep Rajput
Tera Patron
Tera Patron

@SindhujaS Please check the reference qualifier on the organization field, the value you are providing might not be qualifying the reference qualifier mentioned on the organisation field.

 

Hope this helps.

@Sandeep Rajput I have removed the reference qualifier mentioned on the organisation field and I have try to run my testcase still it is failing in the set variable value(SP) itself with same failure message

@SindhujaS 

you are running the test with admin or some non admin user?

Does that user have read access to customer_account table?

Any query BR on customer_account table is restricting the records?

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

I am running the test with non Admin user, contact class

The user that I am using has the read access to customer_account table

While I am doing it manually with the same user I am able to fill all the field values and submit the form in the CSM Portal