avatarGhailene ben Marzouk

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

1611

Abstract

ption></figure><p id="787a">=================The project structure====================</p><figure id="6e52"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*JfhV2a7VQqhl3yHC.png"><figcaption></figcaption></figure><p id="76f3">==========Run the application and server==============</p><p id="f295">mvn install to generate the jar :</p><figure id="3333"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*E89FVRxlnzd54i7d.png"><figcaption></figcaption></figure><p id="a545">the run the server by going the main class and click run java application:</p><p id="0a2a">the server is up on port 8080:</p><figure id="a1ea"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*BvFdzWBxDq229--D.png"><figcaption></figcaption></figure><p id="2098">open localhost:8080 to enter to the camunda webapp:</p><p id="a6d3">Now we can run our process :</p><figure id="f209"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*K5bT-lJchqtVlQhE.png"><figcaption></figcaption></figure><p id="d67c">we can see the service task of log will print the log into our spring boot application console:</p><figure id="7b6a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*-FEtHqlApPFmG_dm.png"><figcaption></figcaption></figure><p id="2434">in the application console:</p><figure id="81ec"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*TXL2U7c-H64VeEAB.png"><figcaption></figcaption></figure><p id="99b7">Thanks you for seeing my post, don’t hesitate to contact me for further informations.</p><p id="122e">Other Camunda topics:</p><p id="7896">

Options

<a href="https://readmedium.com/camunda-task-events-notifier-3f3c3c825556">camunda task events notifier</a> <a href="https://readmedium.com/camunda-generic-user-task-c2071c56e755">camunda genericuser task</a> <a href="https://readmedium.com/listener-in-camunda-e44c89930d8">listener in camunda</a> <a href="https://readmedium.com/task-marker-multi-instance-869872bde60">task marker multi-instance</a> <a href="https://readmedium.com/task-marker-loop-in-camunda-e6bbca5e05f4">taskmarker loop in camunda</a> <a href="https://readmedium.com/feel-language-camunda-61532b9e7402">feel language camunda</a> <a href="https://readmedium.com/how-to-work-with-dmn-d73d535f7f66">how to work with dmn</a> <a href="https://readmedium.com/how-to-work-with-dmn-d73d535f7f66">how to work with dmn</a> <a href="https://readmedium.com/how-to-use-embedded-task-form-in-camunda-1f672ec47499">how-to-use-embedded-task-form-in-camunda</a> <a href="https://readmedium.com/all-about-camunda-database-82604b561d84">all-about-camunda-database</a> <a href="https://readmedium.com/error-handling-in-camunda-412cbf41fac8">error-handling-in-camunda</a> s<a href="https://readmedium.com/sub-process-in-camunda-ffc9c78bf5f3">ub-process-in-camunda</a> <a href="https://readmedium.com/gateways-in-camunda-d5cf9eeb3db5">gateways-in-camunda</a> <a href="https://readmedium.com/camunda-with-spring-boot-example-e8277f17d7bf">camunda-with-spring-boot-example</a> <a href="https://readmedium.com/task-in-camunda-44a617fc21cc">task-in-camunda</a> <a href="https://readmedium.com/events-in-camunda-eb9050f5213e">events-in-camunda</a></p></article></body>

camunda with spring boot example

Now lets build an spring boot camunda project:

First of all we need to add camunda archetype-spring-boot to our intellij maven project

groupId: org.camunda.bpm.archetype

ArtifactId: camunda-archetype-spring-boot

version : 7.16.0

Repository: https://artifacts.camunda.com/artifactory/camunda-bpm/

CamundaApplication class => is the entry point of the application @EnableProcessApplication => is responsible of bootstrap the camunda

The default bpmn file existing :

=============application.yaml=================

contains different properties about the application :

the used database is h2 in memory database

the user name

the password

the port

use can also add more user in the config

=================The project structure====================

==========Run the application and server==============

mvn install to generate the jar :

the run the server by going the main class and click run java application:

the server is up on port 8080:

open localhost:8080 to enter to the camunda webapp:

Now we can run our process :

we can see the service task of log will print the log into our spring boot application console:

in the application console:

Thanks you for seeing my post, don’t hesitate to contact me for further informations.

Other Camunda topics:

camunda task events notifier camunda genericuser task listener in camunda task marker multi-instance taskmarker loop in camunda feel language camunda how to work with dmn how to work with dmn how-to-use-embedded-task-form-in-camunda all-about-camunda-database error-handling-in-camunda sub-process-in-camunda gateways-in-camunda camunda-with-spring-boot-example task-in-camunda events-in-camunda

Spring Boot
Camunda
Bpmn
Diagrams
Spring
Recommended from ReadMedium