Overview | Camunda 8 Docs (2024)

The Camunda Best Practices distill our experience with BPMN and DMN on the Camunda toolstack, incorporating insights from consulting, community feedback, and various interactions. They offer a blend of conceptual and practical guidance, representing our current practical project experience in a generalized context. While not definitive, these practices acknowledge that learning is ongoing and effectiveness may vary based on your specific situation.

Please note that, like the core product, Camunda extends the same guarantee to Best Practices. However, we cannot ensure the absolute accuracy or timeliness of the information provided, and any liability for damages resulting from the application of these recommendations is disclaimed.

Camunda 8

In general, best practices apply to Camunda 8, but there are also some specific Camunda 7 practices in their own section below.

Project management Best Practices

📄️ The Customer Success PathFollow certain steps and Best Practices when evaluating and introducing process automation to help make it a success.
📄️ Proper POC ExecutionWhen evaluating your process automation approach, a POC helps check if the method and technology suit your needs.

Architecture Best Practices

📄️ Choosing Your Tech StackThis best practice targets Camunda 8. For Camunda 7, please refer to Deciding about your Camunda 7 stack.
📄️ Environment SizingDefine and size your environment for Camunda 8 appropriately by understanding the factors that influence hardware requirements.
📄️ Human Task ManagementUse Camunda task management features or implement your requirements in a generic way for readable models.

Development Best Practices

📄️ Workflow Engine IntegrationTo sketch the basic architecture of your solution, learn how to connect the Zeebe workflow engine with your application or remote system.
📄️ Service Integration PatternsWhen integrating systems and services, you can choose between various modeling possibilities in BPMN.
📄️ Writing Effective WorkersService tasks within Camunda 8 require you to set a task type and implement job workers who perform whatever needs to be performed.
📄️ Problems and ExceptionsTake a closer look at understanding workers, handling exceptions on a technical level, leveraging retries, using incidents, and more.
📄️ Data Handling in ProcessesWhen using Camunda, you have access to a dynamic map of process variables, which lets you associate data to every single process instance.
📄️ Routing Events to ProcessesTo start a new process instance or to route a message to a running instance, choose the appropriate technology option to do so.
📄️ Testing Process DefinitionsTest your executable BPMN processes as they are software. If possible, do automated unit tests with a fast in-memory workflow engine.

Modeling Best Practices

📄️ Readable Process ModelsCreate visual process models to better understand, discuss, and remember processes so models are easy to read and understand.
📄️ Naming BPMN ElementsName all elements in your BPMN diagrams, like activities, events, and gateways, by focusing on the business perspective.
📄️ Technically Relevant IDsFor executable flows, properly name all relevant technical element IDs, like BPMN IDs, in your BPMN diagrams.
📄️ Model Beyond the Happy PathModel the happy path before collecting problems and exceptions, prioritizing them, and introducing them incrementally.
📄️ Situation PatternsDocument patterns that share common characteristics and find a satisfying solution for modeling them.
📄️ Building Flexibility in BPMNSometimes we need ways to build flexibility into process models to deal with operational problems or to allow for humans to intervene.
📄️ Choosing DMN Hit PolicyHit policies describe different ways (standardized by DMN) to evaluate the rules contained in a decision table.

Operations Best Practices

📄️ Versioning Process DefinitionsFor real-life applications, it's crucial to understand how Camunda deals with evolving process definitions by means of versioning.
📄️ Process ReportingThe Camunda engine automatically collects audit information about historical process or instances for users to leverage and generate relevant reports.

Camunda 7-specific Best Practices

📄️ Tech Stack DecisionsCamunda 7 is very flexible and can be hooked into the architecture of your choice, giving you a number of important decisions to make.
📄️ Environment SizingSize your environment for Camunda 7, including sufficient hardware and database space. This best practice targets Camunda 7.x only.

Development

📄️ Service InvocationThis best practice targets Camunda 7.x only! If you are using Camunda 8, visit connecting the workflow engine with your world.
📄️ Transaction HandlingCarefully study and fully understand the concepts of wait states (save points) acting as transaction boundaries for technical (ACID) transactions.
📄️ Testing process definitions in Camunda 7Camunda 7 also has support for writing tests in Java. This section gives you an example, the basic ideas of test scopes, and testing in chunks also valid with Camunda 7.

Operations

📄️ Operating Camunda 7To successfully operate Camunda 7.x, you need to take into account operation requirements when modeling business processes.
📄️ Performance TuningUnderstand influencing aspects on performance and apply tuning strategies. For example, by configuring the job executor or applying external tasks.
📄️ Securing Camunda 7Disallow unauthorized access by securing the Camunda 7.x before going live with your process applications.

Other

📄️ Extending Human Task ManagementThis best practice targets Camunda 7.x only and is an appendum to understanding human task management.
Overview | Camunda 8 Docs (2024)

References

Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated:

Views: 5969

Rating: 4.1 / 5 (72 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.