# hello-camunda **Repository Path**: feuyeux/hello-camunda ## Basic Information - **Project Name**: hello-camunda - **Description**: sync with https://github.com/feuyeux/hello-camunda - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-03-29 - **Last Updated**: 2023-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hello-camunda ## 1 Embedded ### Camunda Automation Platform 7 Initializr https://start.camunda.com/ ### Spring-boot Integration ### Service Task Implementation Type 1. External 2. Java class 3. Expression 4. Delegate Expression 5. Connector | Java class | Delegate Expression | Expression | | :---- | :---- | :---- | | ![](img/embedd-task-1.png) |![](img/embedd-task-2.png) | ![](img/embedd-task-3.png) | #### Calling Java Code There are four ways of declaring how to invoke Java logic: - Specifying a class that implements a [JavaDelegate]([Delegation Code | docs.camunda.org](https://docs.camunda.org/manual/latest/user-guide/process-engine/delegation-code/#java-delegate)) or [ActivityBehavior]([Delegation Code | docs.camunda.org](https://docs.camunda.org/manual/latest/user-guide/process-engine/delegation-code/#activity-behavior)) - Evaluating an expression that resolves to a delegation object - Invoking a method expression - Evaluating a value expression > Camunda Platform 7 uses [JUEL (Java Unified Expression Language)](https://docs.camunda.org/manual/latest/user-guide/process-engine/expression-language/) as the expression language. In the embedded engine scenario, expressions can even read into beans (Java object instances) in the application. > > Camunda Platform 8 uses [FEEL (Friendly-Enough Expression Language](https://docs.camunda.io/docs/components/modeler/feel/what-is-feel/) and expressions can only access the process instance data and variables. ## 2 External tasks ![](img/hello-camunda.png) > https://hub.docker.com/u/camunda ### camunda-bpm-platform ```sh docker pull camunda/camunda-bpm-platform:latest docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:latest # open browser with url: http://localhost:8080/camunda-welcome/index.html docker run -d --name camunda -p 8080:8080 \ -e DB_DRIVER=com.mysql.jdbc.Driver \ -e DB_URL=jdbc:mysql://localhost:3306/camunda \ -e DB_USERNAME=root \ -e DB_PASSWORD=hello_camunda \ -e WAIT_FOR=localhost:3306 \ camunda/camunda-bpm-platform:latest # http://localhost:8080/camunda ``` ![](img/external-task-1.png) ### external-tasks #### java ```sh $ cd external/external-task-java $ mvn spring-boot:run ``` ![](img/external-task-2.png) #### nodejs ```sh $ cd external/external-task-nodejs $ node index.js ``` ![](img/external-task-3.png) #### go ```sh $ cd external/external-task-go $ go run main.go ``` ![](img/external-task-4.png) #### python ```sh $ cd external/external-task-python $ source venv/bin/activate $ python3 main.py ``` ![](img/external-task-5.png)