The feature is available by default in the Production Environment. To enable this feature in API Sandbox and Central Sandbox, contact Zuora Global Support.
- To use the Deployment Manager, you need to have a Platform Administrator user role in both the source tenant and the target tenant.
- You need to log into the target tenant to run a deployment. A target tenant receives metadata objects from a source tenant in a deployment.
Access Deployment Manager
After logging into the target tenant, you can access the Deployment Manager from the left-side navigation under Administration.
Create a source tenant
To run a deployment, you need to create a source tenant that hosts the metadata objects you want to migrate to other tenants. There are two ways to create a source tenant:
- From the Source Tenants tab on the landing screen of the Deployment Manager
- When a new deployment run is created (See Run a deployment for information)
To create a source tenant from the Source Tenants tab:
- Click Source Tenants, then click the + New button.
In the Add New Tenant dialog box, provide the required information on Client ID, Secret, and Environment.
- Log into the source tenant and refer to Create an OAuth Client for a User to get the required Client ID and Secret.
- Refer to this page to know the environment of the source tenant from its URL.
- Click Authenticate to validate the source tenant.
The source tenant will appear on the Source Tenants list with an Active status.
Run a deployment
Deployment is the process of migrating metadata objects as components from a source tenant to a target tenant.
To run a deployment after you have logged into the target tenant:
- Click Deployment Run, then click the +New button.
- On the Basics step, provide the required Deployment Name, select a Source Tenant, leave Target Tenant as it is. Note that you have the option to create a source tenant at this point if the source tenant you have in mind is not on the existing list.
- Click Next.
- On the Select step, use the toggle to select the component(s) you want to migrate from the source tenant to the target tenant.
- Click Next.
- On the Compare and Deployment step, you can compare the source tenant values and the target tenant values.
Understanding the compare result
|Compare result||UI Icon||Description|
|No change||The source tenant values and the target tenant values are the same.|
|Different||The source tenant values and the target tenant values are different.|
|Only in target||The related feature is only enabled in the target tenant and cannot be disabled through deployment. You can contact Zuora Global Support to disable the feature in the target tenant.|
|Feature disabled||The related feature is only enabled in the source tenant. You can contact Zuora Global Support to enable the feature in the target tenant.|
|Cannot be reverted||
The values in the target tenant cannot be reverted after the deployment. The following components cannot be reverted:
|Cannot be deployed||
The values cannot be deployed functionally. The following components cannot be deployed:
You can use the Show Difference toggle to quickly view the differences between the source tenant and the target tenant. The number of values that are different is highlighted with a red icon. Cannot be deployed, Only in target, and Feature disabled are disabled by default on the compare screen.
- Select the checkboxes of the component(s) or the sub-components that you want to migrate from the source tenant to the target tenant.
- Click Deploy.
- Click Confirm on the validation message if you want to run the deployment.
- On the Deployment Setup dialog box, select whether you want to receive an email notification for the deployment result.
- Click Start Deployment.
- The deployment run will appear on the Deployment Run list with a status of Deploy in progress.
- Click Refresh to see the latest status.
Revert a deployment
After a deployment run is complete, you have the choice to revert the values of the target tenant to their previous values.
To revert a deployment run, click Revert under the Action column in the Deployment Run tab. Upon revert, the status of the deployment run will be changed to Reverted.
Note that only deployment runs with Done status can be reverted.
View deployment history and status
On the Deployment Run tab, you can view a history of previous deployment runs and their statuses. In addition, you can sort the list view by clicking on the column names.
A deployment run can have the following status.
|In progress||The deployment is in progress.|
|Done||The deployment is successful. All select component(s) are migrated from the source tenant to the target tenant.|
|Failed||The deployment is unsuccessful. None of the selected component(s) is migrated from the source tenant to the target tenant.|
|Reverted||The revert is successful, meaning that all updated values of the target tenant have been reverted to their previous values before the deployment.|
|Rollback failed||The revert is completely failed, meaning that none of the updated values of the target tenant have been reverted to their previous values before the deployment.|
|Partial revert||The revert is partially successful because some of the components cannot be reverted. For example, assume you try to revert 10 components and 3 of them cannot be reverted. When the revert is done, a Partial Revert status is displayed, meaning that 7 components that can be reverted have been reverted successfully while the other 3 components were not reverted. If any of the 7 components were not reverted successfully, then the status would be Rollback Failed.|
|Partially done||The status is applicable when a section of the total selected components is deployed. For example, if 47 components are selected for deployment but 27 components are successfully deployed, whereas the remaining 20 components are not deployed. The details of the components can be referred to in View Logs.|
View deployment task details
To view the task details of a deployment run, you can click the name of the Deployment Run to open a task detail page or click the View Logs link to download the task log.
On the task detail page, the Old Value refers to values in the target tenant before the deployment, and the New Value refers to values in the target tenant after the deployment. You can also download an audit report in the csv format.
- If you click the name of a Reverted deployment run, the values displayed on the task detail page are the result of the original Deployment action, not the Revert action.
- If you want to know the reason for a failed deployment run, click View Log to download the log.