# Deploy a project to an environment

WHO CAN USE THIS FEATURE?

This guide applies to accounts with the Environments feature enabled. Environments is available for direct and Embedded users. Learn more about Environments for Embedded customers.

You can deploy projects to different environments. For example, when a recipe is ready for testing, you can deploy it from the Development environment to the Test environment.

This guide outlines the following steps:


# Prerequisites

Ensure you have the following prerequisites to deploy a project to an environment:

  • A Workato account with the Environments feature enabled.
  • Access to the project you plan to deploy.
  • The deployment privilege enabled in the main (Development) environment. You can only deploy projects from this environment.
  • The deployment privilege enabled in the environment where you plan to deploy the project.

SINGLE ENVIRONMENT ACCESS

You cannot deploy projects if you only have access to one environment.


# Set up the deployment

Complete the following steps to set up your deployment:

1

Sign in to your Workato account.

2

Navigate to the main DEV environment.

3

Open the project you plan to deploy and click the Deployments tab.

4

Click Deploy to. The following options appear in the dropdown:

Deploy to environmentDeploy to environment


# Customize the deployment

After initiating the deployment, a popup appears, allowing you to customize the deployment:

1

Choose whether to select all assets or customize the deployment by selecting individual assets.

2

Select or clear the checkbox next to each asset to specify which assets you plan to include in the deployment.

Customize deploymentCustomize deployment

3

Select or clear the checkboxes to include or exclude test cases.

4

Ensure that all dependent assets are included. If any dependencies are missing, a warning displays indicating the missing dependencies.

5

Click Next to review your changes.

DEPLOYING CONNECTIONS

When deploying connections for the first time, you must reconnect them in the target environment before recipes can run, regardless of the deployment type you select.


# Review changes

Next, complete the following steps to review the changes calculated and displayed by Workato:

1

Review the list of assets added or updated in the interface.

Deployments tabReview changes

2

Click Customize to go back and make further adjustments, if required.

3

Click Next to add details to your deployment after reviewing the changes.

Refer to the Understanding project deployment with environments guide to learn more about how changes are detected.


# Add details

After reviewing the changes, you can add the necessary details for your deployment:

1

Provide a name for your deployment in the Deployment name field. This name is used in the deployment history tab.

Add deployment detailsAdd deployment details

2

Summarize the changes for this version of the project in the Description field.

3

Click Deploy to initiate the deployment.


# Review and finalize deployment

After Workato deploys the changes, complete the following steps to review and finalize the deployment:

1

Click View project in [ENVIRONMENT] to review the deployment in the relevant environment.

View deploymentView deployment

2

Navigate to the Deployments tab to check the status of the deployment or to redeploy if necessary.

3

Use the Deploy to dropdown to deploy the project again to a different environment or download the package.

Deploy againDeploy again


# Deploy from the recipe page

You can deploy recipes directly from the recipe page with deployment permissions. This feature streamlines the deployment process and enables you to efficiently manage urgent updates.

# Prerequisites

Complete the following prerequisites before deploying from the recipe page:

# How to deploy an asset from the recipe page

Complete the following steps to deploy directly from the recipe page:

1

Open the recipe you plan to deploy.

2

Click the Deploy to button at the top of the recipe page.

Deploy from the recipe pageDeploy from the recipe page

3

Select the target environment from the drop-down menu. Only environments where you have deployment privileges are available.

4

Review the deployment popup where the current asset is pre-selected. Dependent assets are automatically selected by default.

REVIEW DEPENDENT ASSETS

Review the dependent assets and customize the selection if needed to ensure only the necessary assets are included in the deployment.

Customize assetsCustomize assets

5

Click Next, review the changes, add details, and click Deploy to complete the deployment.

After deployment, you can click View project in [ENVIRONMENT] to review the deployment in that environment.


# Re-establish connections

Deploying a project maintains dependent relationships in recipes. However, you must reconnect connections in the target environment the first time they are deployed. Recipes won't run until you re-establish connections.

In the target environment, re-establish connections to ensure recipes run successfully.

SANDBOX CREDENTIALS

Use sandbox credentials when working in a non-production environment as a best practice.


# Resolve post-deployment errors

If you encounter an error message such as 503 Service unavailable after deploying a project to the target environment and starting a recipe, you must refresh the recipe's schema. This allows you to fix any broken external dependencies.

Complete the following steps to refresh the recipe schema:

1

Log in to your Workato account.

2

Open the side panel and click your profile icon.

3

Select the environment you deployed the project to.

4

Select the project and the recipe where the error occurred.

5

Select Edit recipe.

6

Select Refresh to refresh the recipe schema.

Select the Refresh button Select Refresh to refresh the recipe schema

7

Resolve any design-time recipe errors that Workato identifies. Fields with errors are outlined in red.

8

Click Save to save your changes.


# Resources


Last updated: 8/19/2024, 4:35:20 PM