Camunda

Camunda Blog

Community

How can you Teach a Workflow to Execute a specific task?

If you read the first article in this series, I might have been able to convince you about executable processes? In this blog, the second in the series, I would like to go a step further and show you, with Restzeebe, how concrete tasks within processes are executed by a workflow engine. All my examples use Camunda Cloud. I don’t know of any other solution that executes workflows models in BPMN in the cloud. But now to the real thing. How can you teach a workflow to execute a specific task? I don’t want to go into too much detail, but with Camunda Cloud it works like this: Zeebe, the underlying engine, uses a PubSub system for workers. A worker is essentially the software that executes…

By Adam Urban

Engineering

Is there an alternative to spaghetti?

When it comes to food, definitely not. Spaghetti Bolognese needs few ingredients, is quickly prepared and always tastes great – at least to me 😉 But what I am actually getting at? Spaghetti Code. In contrast to a meal, Spaghetti Code is not eaten up in a few minutes. It stays, is extended, changes, grows and grows and grows. It is the same with microservices. If you start with microservices, you always have to consider how fine-grained services are cut. In the end, the spaghetti effect shifts from code to orchestrating components. This component must know all the small services and connect them with each other. The same can be found in manual activities that have not been automated or…

By Adam Urban

Community

chor-js – an Editor for BPMN Choreography Diagrams

Let’s say you are craving your favorite pizza from that pizza place a ten-minute walk away. You call them up, place your order, and are then asked whether you would like to have the pizza delivered or pick it up yourself. In your mind, you think about how convenient it would be to have a delivery driver knock on your door and hand you the pizza within half an hour or so, but then again it is only a short walk, and some fresh air would really do you good… Putting somewhat existential questions aside, what we just described is a prime example for a so-called choreography in Business Process Management. Different participants (you, the pizza place and the delivery…

By Jan Ladleif, Anton von Weltzien

Announcements

Test Your Processes With JUnit 5

If you’re a fan of JUnit5 for testing on the JVM, we have good news — there’s a brand-new library available: camunda-bpm-junit5, published as a community extension for Camunda BPM. The project is now available on Maven central, so you can start testing your processes with the latest technology. Getting started To add the extension to your project, just add the Maven dependency to your pom file: <dependency> <groupId>org.camunda.bpm.extension</groupId> <artifactId>camunda-bpm-junit5</artifactId> <version>1.0.0</version> <scope>test</scope> </dependency> Add the dependencies to JUnit 5 if you don’t already have them (they are included in the spring-boot-starter-test artifact): <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.6.2</version> <scope>test</scope> </dependency> To start testing you can extend your test class with the ProcessEngineExtension: This injects the ProcessEngine configured in the camunda.cfg.xml file into…

By Ingo Richtsmeier

Community

Letters to Santa – Automating Joy to the World, At Scale

It’s that time of year again. The time when the world’s largest order fulfillment operation experiences its heaviest load. No, not Amazon – we’re talking about Santa Claus, Inc. – the largest logistics company in the world, with a 24-hour global delivery window at peak load. This year is different, however. Earlier this year, Saint Nick clicked on an ad on his Facebook feed, one promising a digital nomad lifestyle through automating his business. Sick of the Arctic weather and the stress of traveling, the thought of sitting on a beach in Thailand – while still bringing joy to children around the world – was enticing. Santa paid for the course and applied the principles of process automation, task decomposition…

By David Simmons

Community

Testing Process Dependencies

Welcome to the next post in our blog series: “Treat your processes like code – test them!” You can find the last post: “Testing entire process paths” here. Today’s topic is “Testing process dependencies”. For the execution of a model, there are often additional resources required. This might be source code or the dependency on other models. But how can we deal with this when testing our models? In this post we will take a closer look at the following dependencies: We will get to know another library that will help us with testing: camunda-bpm-mockito. The examples for this blog post can be found in this GitHub repository. In the last post, we took a closer look at a small…

By Dominik Horn

Community

Camunda Halloween

It’s a very Camunda Halloween, and this project should keep you safe from the Trick-or-Treaters! It’s more than just a BPM process, of course. It’s an IoT project that uses Camunda BPM to deliver the goods. I’ll break this post up into several sections, but you will need (or at least need access to) a 3-D printer to fully realize the awesomeness here. It uses a modified Dog Treat Dispenser because I didn’t have the time (or the skills) to design a whole new Candy Dispenser from scratch. Overview This is both a hardware and a software, as well as a BPMN, project, so there are a lot of moving parts — literally and figuratively. The first thing I had…

By David Simmons

Engineering

Orchestrating Microservices with Zeebe

Last Tuesday, I gave a presentation about “Orchestrating Microservices with Zeebe” for a London Meetup. In this blog post you can find the slides and video for the presentation – but first, a few words about the content of the presentation. I’ve focused more on the orchestration side of an example on GitHub for rearchitecting a Java Monolith application. Instead of spending time discussing the frameworks used for the example, I’ve highlighted the importance of exposing the business logic and flow of our applications to other relevant stakeholders. You can always follow the links to download and run the example in your own Kubernertes Clusters. The first half of the presentation was focused on the example scenario and some tools that…

By Mauricio Salatino

Ready to get started?