While running my ATF for one record producer, I am getting the error "FAILURE: Failed to set field 'Enter the name of the Business Application' to value '554f3feddb0cc810fe3fe7970596199f' because the reference is NOT valid.". When I try to replicate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 08:45 AM
When running an ATF test that sets the value of a reference field, the test fails with an error similar to the following:
"FAILURE: Failed to set field 'Enter the name of the Business Application' to value '554f3feddb0cc810fe3fe7970596199f' because the reference is NOT valid.".
When I try to replicate the same steps manually with the same users I can set the field value and submit the record producer.
The scope of the ATF and request item is also same (Global).
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2022 04:18 AM
Hi
This might be happening because the value which you are trying to set in your ATF script does not exist in the target table and might have been deleted.
Also, to note here there might be two duplicate values with same name existing in your Reference table which you might have not selected the correct value in your ATF script.
Solution:
While selecting the value, I would suggest take the sys id of that record from your Target table first and then click on the magnifying glass in your ATF test step and search with the sys id to avoid any confusion or mistake as for example shown below:
I am setting a CI Value in my record Producer, and searching with the help of Sys id here:
So would recommend you search with the sys id when setting the value and that should avoid any mistake happening.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke