Camunda BPM RPA Bridge

The Camunda RPA bridge is a standalone application that allows to call RPA (robotic process automation) bots from BPMN models deployed to a Camunda engine. RPA bots can be orchestrated as External Tasks using the Camunda Modeler and Cawemo.

For detailed instructions on how to connect your first RPA bot to a BPMN model (using Cawemo and the Camunda Modeler) and execute it from a running process instance using the Camunda engine, head over to our installation guide

Enterprise Feature

Please note that the RPA bridge is only available as enterprise edition.

Check the Camunda enterprise homepage for more information or get your free trial version.

The Basics

The Camunda RPA bridge serves as a connector between Camunda (BPMN) on the one side and UiPath (RPA) on the other side. Processes running inside the Camunda engine can define external tasks that are marked as RPA tasks.

The bridge extends the regular Java External Task Client, fetches and locks the RPA tasks and starts a job in UiPath. Once the job is done, UiPath will notify a webhook in the bridge about the job result and state (Success/Failure). Alternatively, a polling mechanism requesting status updates from UiPath can be configured. Either way, the bridge will complete the previously locked external task and pass any result variables received from UiPath along to the Camunda engine.

Prerequisites and Supported Environments

To execute RPA bots from Camunda you will need:

  • A UiPath Orchestrator instance, either
    • On-Premises v2019 or v2020.4 or
    • Automation Cloud
  • Camunda BPM 7.14 Enterprise Edition or later
  • Java 8 or later installed on the machine that runs the Camunda RPA bridge

To design a BPMN model that connects to one or more RPA bots through the bridge, the following tools are very helpful (but not required):

  • Cawemo 1.4 or later (to create and distribute worker catalogs)
  • Camunda Modeler 4.2 or later (to apply the worker catalog to your process model)

Camunda BPM RPA Bridge configuration

The bridge is configurable through the application.yml file that is included in the provided archive. Properties marked with a '*' are required to be filled before starting the bridge.

Configure Basic Properties

Prefix Property name Description Default value
org.camunda.bpm.rpa license-file Provides a URL to your Camunda license file By default, the license key will be loaded:
  1. from the URL provided via this property (if present)
  2. from the file with the name camunda-license.txt from the classpath (if present)
  3. from path ${user.home}/.camunda/license.txt (if present)
The license must be exactly in the format as we sent it to you including the header and footer line.
enable-telemetry Enable sending usage metrics and general statistics to Camunda. For more information see the Telemetry section below. false

If the Camunda Platform engine uses a custom date format, configure the same format for the Camunda RPA bridge. This ensures the bridge can read date fields acquired from the Camunda Platform REST API correctly.

The default for this property is inherited from the Java external task client and is the same as the default date format in Camunda Platform.


Configure Access to the Camunda API

Prefix Property name Description Default value
org.camunda.bpm.rpa.camunda-api url* The URL to the Camunda REST API (e.g. `http://localhost:8080/engine-rest`) -
authentication.type The type of authentication to access the REST API (e.g. `basic`), only if your REST API is authenticated -
authentication.username The username to authenticate against the REST API, only if your REST API is authenticated -
authentication.password The password to authenticate against the REST API, only if your REST API is authenticated -

Configure Access to UiPath Orchestrator


Prefix Property name Description Default value
org.camunda.bpm.rpa.uipath-api topics* The topics on which the bridge will listen for RPA tasks. -
url* The URL to your UiPath Orchestrator instance. -
tenant-name* The name of the UiPath tenant. For Automation Cloud instances, this refers to the Tenant Logical Name -
status-update-method* The job status update mechanism to use, can be either webhook or polling. Please note that further configuration can be necessary for either option as described in the respective configuration sections. -
account-name The name of the UiPath account. This is only necessary for Automation Cloud instances. -


org.camunda.bpm.rpa.uipath-api.authentication type* The type of UiPath Orchestrator to authenticate against, must be one of on-premise or cloud. -
auth-url* The URL used for authentication against the UiPath API. -
user* The username/e-mail (for On-Premises) or the client-id (for Automation Cloud) to use. This is only used for authentication. -
key* The password (for On-Premises) or refresh-token/user-key (for Automation Cloud) issued by UiPath. This is used to authenticate or refresh the authentication token when it expires. -


org.camunda.bpm.rpa.uipath-api.webhook secret The secret used in your UiPath webhook configuration, only required if the status-update-method is set to webhook -
path Relative path of the webhook endpoint in your application. /webhook/event


org.camunda.bpm.rpa.uipath-api.polling rate-ms The rate in milliseconds to use for polling bot status updates. 4000
init-delay-ms The initial delay in milliseconds before polling for bot status updates starts after application startup. 4000
poll-size The number of jobs to poll for in one request in order to not exceed the API request character limit. 13

Configure Logging

The bridge logs basic information on log level INFO. Technical exceptions and erroneous states are logged on level WARN accompanied by the business context (e.g. exception while starting a job at the RPA vendor or while handling a response from it). As the bridge is based on Spring Boot, you can consult the official documentation for further information on logging configurations.

Logging Categories

In order to also log the bridge’s interactions with external systems, you can set the log level of the defined loggers to DEBUG by adding the following to the configuration for every logger you want to change, replacing '<Logger>' with a logger from the list. Please note that loggers work hierarchically, meaning that configuring org.camunda.bpm.rpa.bridge with level DEBUG will log statements of logger org.camunda.bpm.rpa.bridge.rpa.uipath in DEBUG well.

logging.level.<Logger>: DEBUG
Logger Description
org.camunda.bpm.rpa.bridge Logs details for all interactions with all external systems (i.e. RPA vendor and Camunda BPM Runtime).
org.camunda.bpm.rpa.bridge.externaltask Logs details for all interactions with the Camunda BPM Runtime, specifically the locking, unlocking, completing and failing of External Tasks.
org.camunda.bpm.rpa.bridge.rpa Logs details for all interactions with all possible RPA vendors, including outgoing and incoming requests as well as responses for outgoing requests.
org.camunda.bpm.rpa.bridge.rpa.RequestHandler Logs details for all responses for outgoing requests to RPA vendors.
org.camunda.bpm.rpa.bridge.rpa.uipath Logs details for all interactions with UiPath, specifically outgoing and incoming requests. Note that responses to outgoing request are NOT logged here. Please additionally configure the org.camunda.bpm.rpa.bridge.rpa.RequestHandler for that purpose
org.camunda.bpm.rpa.bridge.rpa.uipath.auth Logs details for all authentication interactions with UiPath, specifically outgoing requests. Note that responses to outgoing request are NOT logged here.Please additionally configure the org.camunda.bpm.rpa.bridge.rpa.RequestHandler for that purpose

Log to file

By default, all log output goes to the console. If you would like to log to a file my.log, add the following line to the configuration my.log

Please consult the official Spring Boot documentation for further options.

Set up an RPA Task

The RPA bridge is a regular Java external task client and RPA tasks are external tasks with specific settings.

The bridge listens for tasks with the defined topics. If a process instance reaches an external task with one of these topics, the bridge will be able to fetch and lock them. Once a task is locked, the bridge will try to forward it to your installation of UiPath which will take care of executing the associated robots.

Map a Task to an RPA Bot

To tell the bridge for which RPA process a bot should be started, it is necessary to add an extension property with the name bot and a value equal to the package name of the released process in UiPath.

Using Cawemo and the Camunda Modeler

With Cawemo you can create worker catalogs that define all properties for RPA tasks. Those can be used to populate existing BPMN models with the correct properties and extensions using the Camunda Modeler.

Manual Setup using the Camunda Modeler

The extension property can be set using the Camunda Modeler (or any other BPMN or XML editor). In the Modeler, select the task and switch to the Extensions tab in the properties panel. Add a property named bot with the value equal to the name of the process you want to start in UiPath.

This example shows an external task that will trigger the UiPath process UiPathProcessName and is published in the RPA external task topic.

<bpmn:serviceTask id="myRPAtask" name="Launch the Robots" camunda:type="external" camunda:topic="RPA">
      <camunda:property name="bot" value="UiPathProcessName" />


You can send/receive variables to/from an RPA bot by using input and output mapping on the external task. All local variables of the external task will be made available to the RPA bot. In return, all variables that the RPA bot exports will be returned back to the task and should be mapped to a higher scope via output mapping if the rest of the process should have access to them. Make sure to define input variables in your RPA bot to access them.

This example shows an external task that uses input mapping to pass three variables to an RPA bot that runs the PrintReceipt process. If the bot returns a variable called pdfStorage it will be mapped to the task’s parent scope using output mapping. The bot might return more variables which will be ignored in this case.

<bpmn:serviceTask id="myRPAtask" name="GenerateReceipt" camunda:type="external" camunda:topic="RPA">
       <camunda:inputParameter name="productName">${product}</camunda:inputParameter>
       <camunda:inputParameter name="count">${count}</camunda:inputParameter>
       <camunda:inputParameter name="price">${price}</camunda:inputParameter>
       <camunda:outputParameter name="pdfStorage">${pdfStorage}</camunda:outputParameter>
      <camunda:property name="bot" value="PrintReceipt" />

API Usage

When connected to UiPath, the bridge will use the following API endpoints:


  • - when using UiPath Automation Cloud
  • <ui-path-url>/api/account/authenticate - when using UiPath on-premise (v2019 or v2020.4)


  • <ui-path-url>/Releases?$filter=ProcessKey eq 'processKey' - find release for process
  • <ui-path-url>/Jobs/UiPath.Server.Configuration.OData.StartJobs - for starting RPA jobs
  • <ui-path-url>/Jobs?$select=Key,State,Id,Info,OutputArguments&$filter=(<tracked-job-states-filter>) and (<job-filter>) - find jobs in finished and failed states, only when polling is used to retrieve job status

Requests from UiPath to Bridge:


  • <bridge-webhook-path>/webhook/event - notify bridge about tracked job, only when webhook is used to retrieve job status


At Camunda, we strive to offer excellent user experience at a high and stable level. On a strict opt-in basis, we are looking to collect environment and usage data to further improve the user experience for you. These insights help us to understand typical environment setups and product usage patterns and will be used to make informed product improvement decisions to your benefit.

Find more information on the general telemetry introduction page

When enabled via including org.camunda.bpm.rpa.enable-telemetry=true in the configuration file, the bridge will collect the following data and securely send them to a Camunda server.

General Data

  • A generated unique ID for every bridge instance
  • The name of the product (i.e., Camunda BPM RPA Bridge)
  • The version of the bridge (e.g., 1.0.0)
  • The edition of the product (i.e., enterprise)
  • The customer name, expiry date and enabled features as well as the raw license info

License key data does not contain any protected data like the signature.


  • Number of started RPA bots
  • Number of completed RPA bots
  • Number of failed RPA bots

Before you install a Camunda BPM Runtime version >= 7.14.0-alpha1 or activate the telemetry functionality, please make sure that you are authorized to take this step, and that the installation or activation of the telemetry functionality is not in conflict with any company-internal policies, compliance guidelines, any contractual or other provisions or obligations of your company.

Camunda cannot be held responsible in the event of unauthorized installation or activation of this function.

On this Page: