Skip to main content

Deploying Processes

How to deploy a Process and Rollback a Process Version to an Agent Group.

Ossi Galkin avatar
Written by Ossi Galkin
Updated over 2 years ago

This guide is relevant to both Processes and Subprocesses.

When developing Processes or integration flows in Frends, you will need to deploy the newly created integration flows to an Agent Group in order for them to be executed. A common use case for this is the traditional path of:

  1. Developing an integration Process in the Development Agent Group in the Development Environment.

  2. Deploying it for testing to a separate Test Agent Group (in the Test Environment).

  3. Running test scenarios for the integration flow.

  4. After the tests have been passed, deploying it to an Agent Group in the Production Environment.

Frends enforces this best practice with the deployment and Environment architecture.

Deploying a Process

The deployment of a Process is done from the Frends UI Process View by selecting Processes to be deployed and selecting the "Deploy Processes to Agent Group" action found in the Actions dropdown menu. You will also be required to choose which version of a Process you wish to deploy and into which Agent Group. This same method is also used to rollback previous deployments by simply selecting an older version.

When deploying a Process, Frends will automatically send a notification to the Agents in the target Agent Group which will cause them to download and take the selected version of that Process into use. This way, the whole deployment process is automated with a single click of a button. You also have the option to activate Triggers after the deployment process is completed.

Deploying Processes to a different Agent Group allows you to define where

Processes should be executed. For example, you can first deploy the Processes to a testing Agent Group and then to a production Agent Group.

Prerequisites

You will need the following prerequisites to follow through with this guide:

  1. Process deploy rights for your Frends tenant

  2. Access rights to the Environment that you wish to deploy your Process

  3. An Environment and an Agent Group

  4. A Process created in the Development Agent Group

  5. The Environment Variables that are in use in the Processes configured for the destination Agent Group

  6. The Subprocesses that are in use in the Processes need to be deployed to the destination Agent Group

Deploying a Process

When we have created a Process in the Development Agent Group, we want to deploy it to a target Agent Group that should be the one executing the Process.

  1. Select a single or multiple Processes that you wish to deploy.

  2. Open the Process deployment modal by clicking the 'Deploy Process to Agent Group' menu item in either the 'Actions' dropdown menu or the Process row Action menu on the right side of a Process row.

  3. Choose your target Agent Group that will be running your Processes.

  4. Select the versions of each of the Processes that are to be deployed.

  5. Decide if the Process Triggers should be activated.

Activating and Deactivating a Process

Processes will start executions based on their Triggers. A Trigger will only execute a Process if the Trigger is in the active state.

  1. Select a single or multiple Processes that you wish to activate/deactivate.

  2. Click on the 'Activate' or 'Deactivate' menu item in either the 'Actions' dropdown menu or the Process row Action menu on the right of a Process row.

Rollback a Process

This section is only relevant to the Development Agent Group.

Sometimes, you wish to return to a previous version of a Process for various reasons. For example, if you want to patch an older version, you first have to rollback the Process in the Development version and then proceed to deploy the updated Process to a production Agent Group.

You can follow the same steps as when deploying a Process, but choose the 'Switch version' item instead of the 'Deploy Process to Agent Group' item.
​

Next learn how to Search Process Executions.

Did this answer your question?