Validate and deploy your process application
Validate your process application in development before deploying it to testing, staging, or production.
Validate your process application
Use Play mode to validate your process application in development.
- Open the main process.
- Select the Play tab to play the process application using your selected development cluster.
- Perform validation as required, for example, debug your process logic and test the process application.
To learn more about using Play for validation, see Play mode for rapid validation
Deploy your process application
Once validation is complete, deploy your process application to cluster stages in your development lifecycle, such as testing, staging, or production. For example, deploy to your testing cluster to run automated tests or make it available for testing.
- Open the main process.
- Select the Implement tab.
- Select Deploy to open the Deploy process application modal.
- Turn on the toggle for the cluster stage you want to deploy to. In Self-Managed, you may be prompted to enter your cluster details manually if no configuration is provided.
- Perform any other actions as required, such as:
- Unpausing the chosen cluster if it has been auto-paused. Select Resume cluster within the Cluster Details.
- Managing the cluster. Select Manage.
- Defining the stages of your deployment pipeline. Select Define stages.
- Select Deploy to deploy the process application to the selected cluster.
All BPMN, DMN, and form files contained in the process application folder are deployed as a single bundle.
In Self-Managed, you can deploy your diagram to the cluster defined in your Web Modeler configuration. You should have the Zeebe
role assigned in Identity to be authorized to deploy.
If any resource fails to deploy, the whole deployment fails and the cluster state remains unchanged. This safely ensures that a process application cannot be deployed incompletely or in an inconsistent state.
Run your process application
You can manually run your process application to test it after it has been deployed to a testing, staging, or production cluster.
Use Play to validate your process application in a development cluster, and only use Run when interacting with other stages such as testing, staging, or production.
To run your process application:
- Open the main process.
- Select the Implement tab.
- Select Run to open the Start instance modal.
- Select Run to start a new instance.
- Before the process instance starts, all resources are redeployed if required so the new instance uses their latest state.
- After the process instance starts, you will receive a notification with a link to the process instance view in Operate. Open this link to monitor the process instance.
Single-file deployment is not supported in a process application. If you select Deploy or Run in any diagram other than the main process, you are prompted to open the main process for deployment.
Deployment errors
If the deployment of a process application fails (for example, because one or more of the contained resources has invalid implementation properties), a modal is shown containing the error message thrown by the Zeebe engine.
The message typically provides the name of the affected resource, the ID of the invalid diagram element, and the error details.
Deployment of external resources
You can link BPMN processes, DMN decisions, or forms that are not part of the process application itself (external resources) from any process inside a process application.
Note that when you deploy the process application:
- Linked external forms are deployed together with the process application.
- Linked external BPMN and DMN diagrams are not deployed together. You must deploy these separately.