Facing issue in the ATF set variable values(SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 02:43 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 02:45 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 02:58 AM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 03:03 AM
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?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 04:20 AM
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