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

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Managing app deployments using Pipelines and Deployments

# Managing app deployments using Pipelines and Deployments {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

Review the applications developers build using App Engine Studio (AES) so you can deploy with confidence.

## Deployment requests {#aes-review-apps-p-and-d__section_deploy_requests}

After a developer submits an application in App Engine Studio, a deployment
request is created. A deployment request is a record to track the review of
submitted applications.

A reviewer can deploy the app to your test environment, reject it, or publish it, all using the App Engine Management Center. If you integrate an existing Change Management program with AEMC, and your app is ready to deploy to production, you can create a change request and deploy the app within a specified change window.  
Figure 1. Deployment request  
1. View details of the deployment request and the application being deployed.
2. Select Approve \& Create Change Request when the app is ready for deployment. This action begins the Change Management processes you configure using Guided Setup.  
   Note:  
   If you don't have an existing Change Management program integrated with Pipelines and Deployments, select Approve \& Deploy App to move the deployment to the next stage.
3. View and edit details of the deployment on the Scheduled Deployments tab.
4. View details of the change request on the Change Request tab. Depending on the role you have, you may be able to change some details of the request.
5. Watch the Activity stream for test results, change request progress, and other deployment details.
{#aes-review-apps-p-and-d__ol_tyq_zrt_pzb}  
Note:  
If you submit deployment requests without upgrading all instances in the pipeline, your existing pipeline continues to be used.

For more information on reviewing a deployment request, see [Deployment Request form in the Pipelines and Deployments app](https://servicenow-prod.fluidtopics.net/A2UhLclWkbJQpOUOtvNn5Q "The Deployment Request form is accessed from within the App Engine Studio (AES) Pipelines and Deployments app.").

## Testing an application {#aes-review-apps-p-and-d__section_gpr_5f4_14b}

Before you publish a submitted application, test it in a non-production instance. To begin
testing, an admin must open the deployment request and select Approve.
The pipeline record is read and determines the next state for the request.

The goal of testing the application is to ensure the viability of the production instance.
When the app has transitioned to the Testing state, ServiceNow
Automated Test Framework tests run if you have [enabled the appropriate
properties](https://servicenow-prod.fluidtopics.net/P2Kw9DxmMCl_UTyd~Kw6uA "The App Engine Studio (AES) Pipelines and Deployments app includes an Application Test Framework (ATF) suite called the Application Deployment Test Suite. Two system properties control whether the test runs automatically whenever an app is deployed to a Test environment.").

If the application doesn't pass testing, then you reject the deployment request.

## Deploying to a test environment {#aes-review-apps-p-and-d__section_xzw_t3c_5rb}

When you deploy or install an application to a test environment, two jobs are automatically executed:

* Application Deployment Test Suite
* Scoped App Definitions instance scan
{#aes-review-apps-p-and-d__ul_jcp_d4c_5rb}

These tests can be useful to the administrator for diagnosing issues before an app is deployed. For more information about what goes on during an application deployment, see [Pipelines and Deployments workflow version 24.1.2](https://servicenow-prod.fluidtopics.net/UAJrUG~jY92hFURK9l1nBA "As you manage requests for app deployment in App Engine Management Center (AEMC), use this workflow to understand how app deployments move through your pipelines in version 24.1.2, released in November 2023.").  
{#aes-review-apps-p-and-d__table_ojh_znc_5rb__entry__2}

| Job | Description |
|-|-|
| Application Deployment Test Suite | A set of Automated Test Framework (ATF) tests. The suite consists of a single test called Log. When the test is run, scan results are logged to the Test Results \[sys_atf_test_result\] table. Note: The following two system properties must be enabled to run the Application Deployment Test Suite: * sn_atf.runner.enabled * sn_atf.schedule.enabled {#aes-review-apps-p-and-d__ul_t3f_pnc_5rb}If they aren't enabled, only the instance scan runs. For more information, see [Enable Automated Test Framework (ATF) properties](https://servicenow-prod.fluidtopics.net/P2Kw9DxmMCl_UTyd~Kw6uA "The App Engine Studio (AES) Pipelines and Deployments app includes an Application Test Framework (ATF) suite called the Application Deployment Test Suite. Two system properties control whether the test runs automatically whenever an app is deployed to a Test environment."). |
| Scoped App Definitions instance scan | Instance scans aid in diagnosing health issues on a non-production instance, and are useful for addressing best practices. For more information, see [Instance Scan](https://www.servicenow.com/docs/access?context=hs-landing-page&version=xanadu&pubname=xanadu-platform-administration&ft:locale=en-US). The instance scan checks all tables in the app that extend Task \[task\]. |
[Table 1. Jobs automatically run during deployment]

{#aes-review-apps-p-and-d__table_ojh_znc_5rb}

The admin can view the results of the scans for troubleshooting purposes by selecting the
Deployment Environment Results tab in the deployment request.  
Simply open the record of the instance. The results are split into three tabs:

* ATF Results
  * Test suite name
  * Test URL
  * Success and failure counts
  * Overall error count
  {#aes-review-apps-p-and-d__ul_vcg_1xc_5rb}
* Instance Scan Results
  * Scan suite name
  * Scan URL
  * Finding count for the scan
  {#aes-review-apps-p-and-d__ul_urz_2xc_5rb}
* Results (JSON) includes unformatted JSON code of the ATF and instance scan results, as well as any errors identified during the scans. This JSON can also be found in the Notes related list.
{#aes-review-apps-p-and-d__ul_dj2_5wc_5rb}

## Publishing an application {#aes-review-apps-p-and-d__section_ryl_4ps_znb}

If an application passes testing, open the deployment request and deploy the application to your production environment. It is then available to all employees in your organization. For more information, see [Managing deployments using pipelines in AEMC](https://servicenow-prod.fluidtopics.net/OnEht6Xjla_SvdijH3UMLQ#manage-deployments-using-aemc "Manage applications at all stages of deployment, view multiple pipelines, and approve or reject deployment requests using the App Engine Management Center (AEMC).").

## Guides for more information {#aes-review-apps-p-and-d__section_s1y_wkm_jtb}

If you need more information, you can try these external guides sponsored by ServiceNow.{#aes-review-apps-p-and-d__table_m51_zrm_jtb__entry__2}

| Learn more about Pipelines and Deployments | Additional ServiceNow resources |
|-|-|
| The Pipelines and Deployments app is used to deploy the apps you are creating using App Engine Studio between instances in a pre-defined order. Unlike previous versions, Pipelines and Deployments allows you to deploy your apps to an unlimited number of instances for app creation, testing, staging, and production. | [Promoting apps through the AES pipeline](https://youtu.be/pUklspebh2w) |
| The Pipelines and Deployments app is used to deploy the apps you are creating using App Engine Studio between instances in a pre-defined order. Unlike previous versions, Pipelines and Deployments allows you to deploy your apps to an unlimited number of instances for app creation, testing, staging, and production. | [Create apps fast with App Engine Studio](https://www.youtube.com/watch?v=kQ8jjcsPf4M&t=19s) |
[ ]

{#aes-review-apps-p-and-d__table_m51_zrm_jtb}
* **[Pipelines and Deployments workflow version 24.1.2](https://servicenow-prod.fluidtopics.net/UAJrUG~jY92hFURK9l1nBA)**   
  As you manage requests for app deployment in App Engine Management Center (AEMC), use this workflow to understand how app deployments move through your pipelines in version 24.1.2, released in November 2023.

