Hi Chidanand_VK!

Thanks for your help!

I don’t want to manually enter the sys_id, because that’s not sustainable in tests that may change.

Ideally, the script or ATF itself should be able to dynamically determine the sys_id of step 36, or the step should be configured to pass this information through an output.

In this line of code, I understood that you want me to manually enter the sys_id of step 36.
 var prevStep = "XXXXXXXXX"; //Sys Id of Step 36

That’s why I tried this approach below in my script, but it didn’t work...

steps[36] && steps[36].first_record && steps[36].first_record.document_id


Is there a way to dynamically determine the sys_id of step 36?

Kind regards!