Deploy a workflow
Learn how to deploy the BPMN file of a new or updated workflow from the integrated development experience to the tenant, and how to respond to the confirmations that appear.
When you deploy a workflow, the integrated development experience sends its BPMN file to the tenant. The process ID in the file determines what the deploy does. A new process ID adds a separate workflow. A process ID that is already deployed adds a new version of that workflow. New instances of the workflow use the deployed version, and instances that are already running are not changed. For details, see Process IDs.
Prerequisites
Before you begin, confirm the following requirements:
-
The BPMN file of the workflow is created or updated, and the Problems panel shows no errors for it. For the steps, see Create or update the BPMN file.
-
If the workflow calls new or updated Java logic, its JAR file is registered on the tenant. For the steps, see Create or update the Java logic.
-
Your Reltio user has the
ROLE_WORKFLOW_MANAGERrole on the tenant. This role is required to deploy a workflow.
Result
The integrated development experience deploys the workflow to the tenant, and a notification shows Deployed "<process ID>" to <tenant ID>. If the Workflow Adapter returns a warning, a second notification shows it.
Under Process Definitions, a new workflow no longer shows • draft, and an updated workflow no longer shows local changes. If the workflow does not appear, right-click Workflows, and select Refresh Workflows.
The BPMN file stays in the Workflows/bpmn/ folder of your tenant folder. The deploy does not commit or push it. If the custom workflow repository is connected, the BPMN file of the repository keeps its own row under Process Definitions. To update its status, right-click Workflows, and select Refresh Sync Status. For the status meanings, see Connect the custom workflow repository.
Verification steps
To confirm that the workflow is deployed, perform the following steps:
-
In the business configuration tree, expand . Confirm that the workflow appears with its name, followed by its process ID, and that it does not show • draft or local changes.
-
Hover over the workflow. Confirm that the tooltip shows Custom workflow, your user name next to Deployed by, and the deploy time next to Deployed.
-
If the workflow is in the custom workflow repository, right-click Workflows, and select Refresh Sync Status. Confirm that the BPMN file of the repository shows same as tenant.
Next steps
A workflow with a new process ID is not started by existing triggers, such as data change requests. To start it, use the Workflow API. If the deploy fails, see Troubleshoot workflows.