ATF + Catalog Item + Variable + Reference Look Up

Rich Dennis _CC
Tera Contributor

Using "Set Variable Values" I'm trying to set a Catalog Item variable dynamically to a Change Record that was successfully created in a previous Test Step. If I hard-code the Change Record variable to an existing record the test runs as desired. However, when trying to set the catalog variable to a reference the test fails with the following:

FAILURE: Failed to set field 'Associated Change Control Number' to value '{{step['adf6f2c24f746b0431a28b8d0210c79b'].first_record}}' because the reference is NOT valid.

Ideas?

 

Here's how I'm setting the variable...

find_real_file.png

find_real_file.png

6 REPLIES 6

Mark Stanger
Giga Sage

Hopefully this helps.  I'm able to get this work simply by setting the document ID pill from the created record.  It looks like you're querying for the record to set it, which isn't necessary.  These screenshots should help you replicate a working solution.

find_real_file.png

find_real_file.png

Rich Dennis _CC
Tera Contributor

Hi Mark,

The record query was just a sanity check on my part. I'm doing the same thing that you are. Whether I select the Record document_id from the insert or the query I always get the same error "FAILURE: Failed to set field 'Associated Change Control Number' to value '{{step['90c23a8e4f346b0431a28b8d0210c7ea'].record_id}}' because the reference is NOT valid. ".

Is this a platform issue that should be raised with HI Support?

Rich Dennis _CC
Tera Contributor

I logged a HI support incident. I received the following reply today:

"I have been able to replicate this issue on my test instance and will now test to see if the issue persists in Kingston and London environments. I will also attempt to locate any related PRB's."

That's good to know. I'm on London and it's working without issue. Looks like it's probably a bug.