<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide</link><pubDate>Tue, 23 Apr 2024 13:11:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Appian Max Team</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Current Revision posted to Guide by Appian Max Team on 4/23/2024 1:11:50 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;Skills Covered&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="/success/w/article/3129/get-started-with-appian-devops"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;Deployment Pipeline&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this guide applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;Deployment Process&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/11</link><pubDate>Wed, 31 Jan 2024 15:45:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>joel.larin</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 11 posted to Guide by joel.larin on 1/31/2024 3:45:12 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;Skills Covered&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="/success/w/article/3129/get-started-with-appian-devops"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;Deployment Pipeline&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this guide applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;Deployment Process&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/10</link><pubDate>Thu, 02 Nov 2023 14:19:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>joel.larin</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 10 posted to Guide by joel.larin on 11/2/2023 2:19:06 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;Skills Covered&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="/success/w/article/3129/get-started-with-appian-devops"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;Deployment Pipeline&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;Deployment Process&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/9</link><pubDate>Tue, 31 Oct 2023 17:24:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Kim Day</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 9 posted to Guide by Kim Day on 10/31/2023 5:24:44 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;Skills Covered&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;Deployment Pipeline&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;Deployment Process&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/8</link><pubDate>Wed, 22 Mar 2023 16:00:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Devon Lee</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 8 posted to Guide by Devon Lee on 3/22/2023 4:00:21 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;Skills Covered&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;Deployment Pipeline&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;Deployment Process&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/7</link><pubDate>Wed, 22 Mar 2023 15:58:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Devon Lee</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 7 posted to Guide by Devon Lee on 3/22/2023 3:58:52 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;&lt;img alt=" " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Skills Covered&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;&lt;img alt="Deployment Pipeline" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Pipeline&lt;/span&gt;&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;&lt;img alt="Deployment Process" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_05.png" /&gt;&lt;span class="sr-only"&gt;Deployment Process&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/6</link><pubDate>Wed, 22 Mar 2023 15:58:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Devon Lee</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 6 posted to Guide by Devon Lee on 3/22/2023 3:58:19 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;&lt;img alt=" " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Skills Covered&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;&lt;img alt="Deployment Pipeline" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Pipeline&lt;/span&gt;&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;&lt;img alt="Deployment Process" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_05.png" /&gt;&lt;span class="sr-only"&gt;Deployment Process&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;&lt;img alt="Additional Considerations " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_04.png" /&gt;&lt;span class="sr-only"&gt;Additional Considerations&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/5</link><pubDate>Wed, 22 Mar 2023 15:57:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Devon Lee</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 5 posted to Guide by Devon Lee on 3/22/2023 3:57:53 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;Skills Covered&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;Deployment Pipeline&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;Deployment Process&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;Additional Considerations&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/4</link><pubDate>Wed, 22 Mar 2023 15:47:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>Devon Lee</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 4 posted to Guide by Devon Lee on 3/22/2023 3:47:40 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;&lt;img alt=" " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Skills Covered&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;&lt;img alt="Deployment Pipeline" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Pipeline&lt;/span&gt;&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;&lt;img alt="Deployment Process" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_05.png" /&gt;&lt;span class="sr-only"&gt;Deployment Process&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;&lt;img alt="Additional Considerations " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_04.png" /&gt;&lt;span class="sr-only"&gt;Additional Considerations&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/3</link><pubDate>Tue, 07 Feb 2023 20:32:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>joel.larin</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 3 posted to Guide by joel.larin on 2/7/2023 8:32:12 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;&lt;img alt=" " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Skills Covered&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;&lt;img alt="Deployment Pipeline" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Pipeline&lt;/span&gt;&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;&lt;img alt="Deployment Process" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_05.png" /&gt;&lt;span class="sr-only"&gt;Deployment Process&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-46/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;&lt;img alt="Additional Considerations " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_04.png" /&gt;&lt;span class="sr-only"&gt;Additional Considerations&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/2</link><pubDate>Tue, 07 Feb 2023 14:12:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>joel.larin</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 2 posted to Guide by joel.larin on 2/7/2023 2:12:58 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;&lt;img alt=" " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Skills Covered&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;&lt;img alt="Deployment Pipeline" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Pipeline&lt;/span&gt;&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-32/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;&lt;img alt="Deployment Process" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_05.png" /&gt;&lt;span class="sr-only"&gt;Deployment Process&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-32/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;&lt;img alt="Additional Considerations " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/app_5F00_deployment_5F00_guide_2D00_04.png" /&gt;&lt;span class="sr-only"&gt;Additional Considerations&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Platform, deployment, configuration-management&lt;/div&gt;
</description></item><item><title>Application Deployment Guide</title><link>https://community.appian.com/success/w/guide/3062/application-deployment-guide/revision/1</link><pubDate>Tue, 07 Feb 2023 14:11:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33aac118-c47a-4e58-b73d-58d6fbdf94d9</guid><dc:creator>joel.larin</dc:creator><comments>https://community.appian.com/success/w/guide/3062/application-deployment-guide#comments</comments><description>Revision 1 posted to Guide by joel.larin on 2/7/2023 2:11:33 PM&lt;br /&gt;
&lt;div style="margin:8px 16% 8px 8%;"&gt;
&lt;h2 id="skills_covered"&gt;&lt;img alt=" " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Skills Covered&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Promoting a new application or changes to an existing application must always follow a predefined and controlled set of &lt;a href="https://docs.appian.com/suite/help/latest/devops-with-appian.html"&gt;DevOps practices&lt;/a&gt; to ensure high quality and speed as well as to decrease risks.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The Appian Cloud standard offering includes 3 environments (Development, Test and Production), which many customers use as a starting point. Once the first application is in production, Appian recommends increasing this to a minimum of 4 environments, which allows more efficient maintenance and production deployment while maintaining development velocity in the Development and Test environments. A 4th environment as described below is also beneficial when managing concurrent development streams.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="deployment_pipeline"&gt;&lt;img alt="Deployment Pipeline" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Pipeline&lt;/span&gt;&lt;/h2&gt;
&lt;table style="background-color:#ecf4ff;border-color:#2c5791;color:#2c5791;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;The advice in this Playbook Play applies to Appian version 20.1 and later&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The available environments in a pipeline vary between organizations. Appian recommends to start with the standard 3 environments (Development, Test and Production) and to eventually increase the pipeline to a minimum of 4 environments as described below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;Development&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- all development activities are performed in this environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- changes are tested on one or more test environments to ensure that the changes are working properly and that they address the requirements.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1742/appian-testing-guide"&gt;&lt;span&gt;Typical tests for an Appian application&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;include unit tests, functional tests, integration tests, user acceptance tests, and non functional tests such as performance tests. More than one test environment may be required to execute these tests. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/recommended-environments"&gt;&lt;span&gt;Recommended Environments&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;play for further details.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Deployment Test&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- this environment is to be used to test the deployments to production and to perform the final round of functional and regression testing. Depending on your organization, this environment may have a different name and may serve multiple purposes. This environment must be a copy of the production environment. The packages deployed in this environment are identical to the packages deployed in production. A successful deployment in this environment guarantees a successful deployment in production.&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;If your organization does not use a Deployment Test environment, apply the deployment steps listed under &amp;ldquo;Test to Deployment Test&amp;rdquo; for your production environment instead.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Production&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;- at the end of the pipeline, the changes are deployed to the production environment after tests are successful and changes are approved for deployment to end users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The packages move through the pipeline from Development to Production:&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-32/POWERPNT_5F00_2020_2D00_06_2D00_01_5F00_11_2D00_19_2D00_22.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f4a1.svg" title="Bulb"&gt;&amp;#x1f4a1;&lt;/span&gt;&amp;ldquo;Compare And Deploy&amp;rdquo; With Appian&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;The recommended deployment approach to deploy Appian applications from Development to Production is using the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;Compare And Deploy feature&lt;/a&gt; of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To use this feature, you must adhere to the following best practices related to packaging and releasing applications on Appian:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Do not design circular dependencies between different applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Build applications with independent life cycles&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Additionally, you must have enabled the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Configure the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#infrastructure"&gt;&lt;span&gt;DevOps Infrastructure&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Appian by connecting your different Appian environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#deployment"&gt;deployment of Appian applications across environments&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deployment_process"&gt;&lt;img alt="Deployment Process" src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_01.png" /&gt;&lt;span class="sr-only"&gt;Deployment Process&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;After these configurations are in place, we recommend using the following process to package and deploy applications from Development to Production.&lt;/span&gt;&lt;/p&gt;
&lt;p id="deployment_pipeline"&gt;&lt;img alt=" " src="/resized-image/__size/800x800/__key/communityserver-wikis-components-files/00-00-00-00-32/chrome_5F00_2020_2D00_06_2D00_01_5F00_17_2D00_31_2D00_01.png_2D00_0x240.png" /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 1. Deployment from Development to Test&lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments from Development to Test are frequent and are performed as patch deployments. We recommend deploying at the story level:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Each story is developed within its own&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/prepare-deployment-packages.html"&gt;&lt;span&gt;package&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Once the story is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/117/definition-of-done"&gt;&lt;span&gt;completed&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and tested by the development team, it is deployed individually to the Test environment for further testing and approval.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy the changes related to a story using the Compare and Deploy feature, the developer follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;If applicable, prepare the DDL database script containing the database changes related to the story and add it to the package.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, add necessary plug-ins to the package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, configure the properties in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Managing_Import_Customization_Files.html"&gt;&lt;span&gt;import customization file&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for the environment specific objects and add it to the package.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy"&gt;&lt;span&gt;Compare and Deploy&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;feature to deploy to the Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;After the deployment is successful&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Merge the import customization properties into a consolidated import customization file for this application. This file will be used for the deployment in Deployment Test and Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Merge the story&amp;rsquo;s DDL database script into a consolidated master DDL database script. This script will be used for the deployment in Deployment Test and Production. Please refer to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="/w/the-appian-playbook/1560/rerun-able-sql-scripts"&gt;&lt;span&gt;rerun-able DB SQL scripts play&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more details.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If the implementation of the story resulted in changes in more than one application, for example changes in a shared objects application and changes in a business application, you must go over the deployment process twice: once for each application, starting with the application that contains the precedents.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Step 2. Deployment from Test to Deployment Test &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deploy to the Deployment Test environment when your application has been fully tested and approved and you are ready to move it to production. Deployments to the Deployment Test environment are performed at the release candidate level and can be considered practice runs for the deployments to production. These deployments are full application deployments.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;To deploy an application to the Deployment Test environment the team responsible for production deployments follows the steps outlined below:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#compare-and-deploy-across-connected-environments"&gt;&lt;span&gt;Compare and Deploy feature&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to initiate the deployment by comparing the corresponding application between the Test and Deployment Test environments.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;At the Prepare Package step of the wizard, select &amp;ldquo;Entire Application&amp;rdquo;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated DDL database script that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If Applicable, select plug-ins to deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Update the name and description of the deployment to reference the identifier or name of the release candidate. Also add the reference to the deployment story if a story was created specifically to move the release candidate to production. This provides traceability between the stories and the changes in Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If applicable, upload the consolidated import customization file that has been previously created throughout the deployments to Test.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Deploy to the Deployment Test environment.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Step 3. Deployment from Deployment Test to Production &lt;/strong&gt;&lt;/h3&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments to the production environment are identical to the deployments performed to the Deployment Test environment. As such, the recommended approach is to deploy the entire application with the same DDL scripts, plug-ins and import customization file as the ones used for the deployment to the Deployment Test environment. Appian provides the ability to easily deploy the same package to another environment as described in the &lt;a href="https://docs.appian.com/suite/help/latest/Deploy_to_Target_Environments.html#step-6-deploy-to-another-environment"&gt;Appian DevOps documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional_considerations"&gt;&lt;img alt="Additional Considerations " src="/resized-image/__size/712x304/__key/communityserver-wikis-components-files/00-00-00-00-46/project_5F00_selection_5F00_banners_2D00_02.png" /&gt;&lt;span class="sr-only"&gt;Additional Considerations&lt;/span&gt;&lt;/h2&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Deployments can be executed remotely using the &lt;a href="https://docs.appian.com/suite/help/latest/Deployment_Rest_API.html"&gt;Appian Deployment REST API&lt;/a&gt;. Integrating this API with a CI/CD tool allows for setting up &lt;a href="/w/the-appian-playbook/1245/appian-devops-quick-start"&gt;automated deployments pipelines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;If your organization wants to maintain version history of the Appian deployments outside of the Appian platform, we recommend performing the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;Export the deployment packages that are deployed from Deployment Test to Production&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Version these deployment packages in a Version Control System or in a shared repository alongside plugins, consolidated DDL database scripts and import customization files&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:115%;"&gt;&lt;span style="font-weight:400;"&gt;Changes to the Appian Administration Console must be tracked as follow:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-size:115%;"&gt;
&lt;li&gt;&lt;span&gt;For changes that are exportable and importable, we recommend to version control these configuration settings like the application artifacts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For changes that do not follow this pattern, we recommend maintaining a deployment plan document listing the steps and settings that must be configured.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>