Processes
A process is a defined sequence of distinct steps or tasks representing your business logic. Examples of a process could be an e-commerce shopping experience, or onboarding a new employee.
At large, process orchestration is a technology that coordinates the various moving parts (or endpoints) of a business process, and sometimes even ties multiple processes together. Process orchestration helps you work with the people, systems, and devices you already have—while achieving goals around end-to-end process automation.
For example, with Camunda you can orchestrate human tasks, microservices, and APIs.
A job worker implements the business logic required to complete a task. You can choose to write a worker as a microservice, or also as part of a classical 3-tier application, as a (lambda) function, via command line tools, etc.
Running a process broadly requires three steps:
- Deploy a process to Camunda 8.
- Implement and register job workers for tasks in the workflows.
- Create new instances of the process.
However, if you haven't yet, design the process:
BPMN
Camunda uses Business Process Model and Notation (BPMN) 2.0 to represent processes. The visual nature of BPMN enables greater collaboration between different teams, and is employed by numerous organizations globally.
New to BPMN? Visit our step-by-step introductory guide on automating a process using BPMN
Modeling BPMN
Camunda provides Modeler, a free and open source BPMN modeling tool to create BPMN diagrams and configure their technical properties.
Camunda offers two Modeler tools to design and implement your diagrams:
- Web Modeler: Integrate seamlessly with Camunda 8 SaaS and Self-Managed installations alongside Console.
- Desktop Modeler: Design, view, and edit models using this desktop application. Install and use Desktop Modeler locally, all while integrating your local development environment.
New to modeling a process? Visit our getting started guide.
Process execution
The simplest kind of process is an ordered sequence of tasks. Whenever process execution reaches a task, Zeebe (the workflow engine inside Camunda 8) creates a job that can be requested and completed by a job worker.
Process orchestration typically follows the steps below:
- A process instance reaches a task, and Zeebe creates a job that can be requested by a worker.
- Zeebe waits for the worker to request a job and complete the work.
- Once the work is complete, the flow continues to the next step.
- If the worker fails to complete the work, the process remains at the current step, and the job could be retried until it's successfully completed.
As Zeebe progresses from one task to the next in a process, it can move custom data in the form of variables. Variables are key-value pairs and part of the process instance.
Any job worker can read the variables and modify them when completing a job so data can be shared between different tasks in a process.