---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Automated Test Framework use case: reference a value from a previous step

# Automated Test Framework use case: reference a value from a previous step {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

This use case illustrates assigning a form field the value of an output variable from a
previous step.{#atf-use-backref__usm_bzh_vw}

## Before you begin

Role required: atf_test_admin

## About this task

Automated Test Framework: In this example, the
second step references an output value from the first step. Pass values from one step to
another example.

## Procedure

1. Insert a record into the incident table.  
   This example inserts a record into the Incident table.  
   Figure 1. Step 1 - Record Insert   

2. Open the record just inserted by assigning to the Record field the output variable from Step 1.  
   Figure 2. Step 2 - Specify the record
3. Validate that fields on the open record have the values you expect.  
   Figure 3. Step 3 - Field Values Validation   

{#atf-use-backref__ssj_cyw_4x}
**Related tasks**   

* [Pass values from one automated test step to another](https://servicenow-prod.fluidtopics.net/7nsJXx_z6R0tBIKh0whenA "Assign a form field the value of an output variable returned from a previous step.")

