Skip to content

Commit f5cbcff

Browse files
revise readme and images
1 parent 1677ed9 commit f5cbcff

6 files changed

+47
-58
lines changed

README.md

+47-58
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Get started with Camunda 8
22

3-
This repository gets user started with [Camunda 8](https://camunda.com/platform/) and contains instructions on how to:
3+
This repository gets users started with [Camunda 8](https://camunda.com/platform/) and contains instructions on how to:
44

55
- Model your first process
66
- Create a user task form
@@ -22,20 +22,22 @@ The repository contains the following folders:
2222

2323
# Configure your environment
2424

25-
To follow this guide, we need a running Camunda 8 cluster. For this purpose,
26-
we use the Camunda 8 SaaS offering at [https://camunda.io](https://camunda.io). If you prefer a local developer setup where you can run the getting started guide against a locally-hosted instance, follow the [Camunda 8 deployment guide](https://docs.camunda.io/docs/self-managed/platform-deployment/overview/).
25+
To follow this guide, you first need a running Camunda 8 cluster. For this purpose,
26+
use the Camunda 8 SaaS offering at [https://camunda.io](https://camunda.io).
2727

28-
After the sign-up and log-in at https://camunda.io, [create a new cluster](https://docs.camunda.io/docs/guides/create-cluster/) with the latest stable version of Zeebe and the name **Test Cluster**.
28+
If you prefer a local developer setup where you can run the getting started guide against a locally-hosted instance, follow the [Camunda 8 deployment guide](https://docs.camunda.io/docs/self-managed/platform-deployment/overview/).
2929

30-
![Camunda Platform Cluster](images/cluster.png)
30+
To set up your environment using the SaaS offering, take the following steps:
31+
32+
1. [Sign up and log in](https://docs.camunda.io/docs/next/guides/getting-started/) at [https://camunda.io](https://camunda.io).
33+
2. [Create a new cluster](https://docs.camunda.io/docs/guides/create-cluster/) with the latest stable version of Zeebe and the name **Test cluster**.
3134

32-
After the cluster is available, we need to create [client
33-
credentials](https://docs.camunda.io/docs/components/console/manage-clusters/manage-api-clients/).
34-
To do this, take the following steps:
35+
![Camunda Platform Cluster](images/cluster.png)
3536

36-
1. From Console, navigate to the **Clusters** detail page.
37-
2. Click on your cluster and switch to the **API** tab.
38-
3. Click **Create new client** and name your client accordingly.
37+
3. After the cluster is available, [create client credentials](https://docs.camunda.io/docs/components/console/manage-clusters/manage-api-clients/). To do this:
38+
1. From Console, navigate to the **Clusters** detail page.
39+
2. Click on your cluster and switch to the **API** tab.
40+
3. Click **Create new client** and name your client accordingly.
3941

4042
**NOTE: Ensure you keep the generated client credentials in a safe place. The client secret will not be shown again. For your convenience, you can also download the client information to your computer.**
4143

@@ -46,27 +48,25 @@ In this example, we'll model a process to send an email message.
4648
Camunda 8 allows you to use the
4749
[BPMN](https://docs.camunda.io/docs/components/modeler/bpmn/bpmn-primer/)
4850
standard to model your business processes. The process consists of two
49-
tasks: a user task to allow a human to enter the message content, and a service
50-
task to automatically send the email message.
51+
tasks: a [user task](https://docs.camunda.io/docs/next/guides/orchestrate-human-tasks/) to allow a human to enter the message content, and a [service
52+
task](https://docs.camunda.io/docs/next/guides/orchestrate-microservices/) to automatically send the email message.
5153

5254
![Process](images/send-email.png)
5355

54-
**NOTE: To keep the scope of this guide limited, we only build the scaffolding for this process automation example and will not actually send an email. If you would like to send an email, you may extend the example and connect to a mail provider.**
55-
56-
To create the process, we use [Modeler](https://docs.camunda.io/docs/components/modeler/about-modeler/).
56+
**NOTE: To keep the scope of this guide limited, this guide only steps through the framework for this process automation example and will not actually send an email. If you would like to send an email, you may extend the example and [connect to a mail provider](https://docs.camunda.io/docs/next/guides/configuring-out-of-the-box-connectors/).**
5757

58-
Find the finished process at [process/send-email.bpmn](process/send-email.bpmn).
58+
To create the process, use [Modeler](https://docs.camunda.io/docs/components/modeler/about-modeler/).
5959

60-
## Model the user task form
60+
Find the finished process at [process/send-email.bpmn](process/send-email.bpmn), and learn more about [designing a process using BPMN](https://docs.camunda.io/docs/next/guides/automating-a-process-using-bpmn/).
6161

62-
To help users complete the user task **Enter Message**, we create a user
63-
task form using Modeler.
62+
## Model and configure the user task form
6463

65-
Find the finished form at [process/enter-email-message.form](process/enter-email-message.form).
64+
To help users complete the user task **Enter message**, [create a user
65+
task form using Modeler](https://docs.camunda.io/docs/next/guides/utilizing-forms/).
6666

67-
## Configure the user task to use the form
67+
Find the finished form at [process/enter-email-message.form](process/enter-email-message.form)
6868

69-
Now, configure the user task to use the form.
69+
Configure the user task to use the form.
7070
To do this, copy the JSON content of the form into the **Form JSON configuration** field under the **Form** tab in the Modeler properties panel.
7171

7272
![Configure user task form](images/user-task-form.png)
@@ -76,9 +76,8 @@ To do this, copy the JSON content of the form into the **Form JSON configuration
7676
The last step is defining the job type of the service task.
7777

7878
The job type is
79-
needed for a job worker to subscribe to the jobs of the task and
80-
complete them. See the [Camunda 8 documentation](https://docs.camunda.io) for more information about
81-
[job workers](https://docs.camunda.io/docs/components/concepts/job-workers/).
79+
needed for a [job worker](https://docs.camunda.io/docs/components/concepts/job-workers/) to subscribe to the jobs of the task and
80+
complete them.
8281

8382
![Configure service task](images/configure-service-task.png)
8483

@@ -89,18 +88,17 @@ Modeler](#deploy-using-web-modeler), [Desktop Modeler](#deploy-using-desktop-mod
8988

9089
## Deploy using Web Modeler
9190

92-
To deploy the [process](process/send-email.bpmn) using Web Modeler,
93-
follow [these steps](https://docs.camunda.io/docs/components/modeler/web-modeler/save-and-deploy/).
91+
To deploy the process using Web Modeler, click **Deploy** in the upper right corner of the modeling screen. See [deploy a process](https://docs.camunda.io/docs/components/modeler/web-modeler/run-or-publish-your-process/#deploy-a-process) for additional details.
9492

9593
## Deploy using Desktop Modeler
9694

97-
To deploy the [process](process/send-email.bpmn) using Desktop Modeler,
98-
follow [these steps](https://docs.camunda.io/docs/components/modeler/desktop-modeler/connect-to-camunda-cloud/).
95+
To deploy the process using Desktop Modeler,
96+
[follow the steps in the Desktop Modeler documentation](https://docs.camunda.io/docs/components/modeler/desktop-modeler/connect-to-camunda-8/).
9997

10098
## Deploy using zbctl
10199

102-
To the deploy the [process](process/send-email.bpmn) using `zbctl`, use the
103-
following command:
100+
To the deploy the process using `zbctl`, run the
101+
following command after inserting your cluster id and client credentials:
104102

105103
```bash
106104
zbctl deploy resource send-email.bpmn \
@@ -109,8 +107,6 @@ zbctl deploy resource send-email.bpmn \
109107
--clientSecret '.RPbZc6q0d6uzRbB4LW.B8lCpsxbBEpmBX0AHQGzINf3.KK9RkzZW1aDaZ-7WYNJ'
110108
```
111109

112-
For **Camunda 8**, we need the cluster id and the [client credentials](#setup-the-environment).
113-
114110
## Deploy using code
115111

116112
Writing your own code allows you to deploy the process (for example, on application
@@ -123,16 +119,15 @@ Start a new instance of the process using [Web Modeler](#start-instance-using-we
123119

124120
## Start instance using Web Modeler
125121

126-
To start an instance of the process using Web Modeler, follow [these steps](https://docs.camunda.io/docs/components/modeler/web-modeler/start-instance/).
122+
To start an instance of the process using Web Modeler, click **Run** in the top right corner of the modeling screen. See [run or publish your process](https://docs.camunda.io/docs/components/modeler/web-modeler/run-or-publish-your-process/) for additional details.
127123

128124
## Start instance using Desktop Modeler
129125

130-
After the process is deployed, click **Start Current Diagram** to start an instance of the process with Camunda Modeler.
126+
After the process is deployed, click **Start Current Diagram** to start an instance of the process with Desktop Modeler.
131127

132128
## Start instance using zbctl
133129

134-
To start a process instance of the BPMN process id `send-email` using `zbctl`,
135-
use the following command:
130+
To start a process instance of the BPMN process id `send-email` using `zbctl`, insert your cluster id and client credentials, and run the following command:
136131

137132
```bash
138133
zbctl create instance send-email \
@@ -141,8 +136,6 @@ zbctl create instance send-email \
141136
--clientSecret '.RPbZc6q0d6uzRbB4LW.B8lCpsxbBEpmBX0AHQGzINf3.KK9RkzZW1aDaZ-7WYNJ'
142137
```
143138

144-
For **Camunda 8**, we need the cluster id and the [client credentials](#setup-the-environment).
145-
146139
## Start instance using code
147140

148141
Writing your own code allows you to start an instance of the process on an
@@ -152,44 +145,40 @@ visit the [programming language folders](#repository-structure).
152145
# Complete the user task
153146

154147
The first task of the process is the [user task](https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/)
155-
**Enter Message**.
148+
**Enter message**.
156149

157150
![Process](images/send-email.png)
158151

159-
To complete the user task, we use Tasklist. To do this, visit the cluster's
160-
details page in Camunda 8 and launch Tasklist.
152+
To complete the user task, take the following steps where we will use [Tasklist](https://docs.camunda.io/docs/components/tasklist/introduction-to-tasklist/):
161153

162-
Take the following steps:
163-
164-
1. In Tasklist, select the **Enter Message** task from the list of tasks.
165-
2. Click the **Claim** button to assign the task to you to work on it.
166-
3. Fill out the **E-Mail Content** field with the message you want to send.
167-
4. Select **Complete Task**.
154+
1. Navigate to Tasklist by clicking the square-shaped **Camunda components** icon in the top left corner. Click **Tasklist**.
155+
2. On the **Tasks** page, change the **Filter options** to **All open**.
156+
3. Select the **Enter message** task from the list of tasks, and click **Assign to me**.
157+
4. Fill out the **E-Mail Content** field with the message you want to send.
168158

169159
![Tasklist](images/tasklist.png)
170160

161+
5. Select **Complete Task**. This will now show up under the **Filter option** that is **Completed**.
162+
171163
# Complete the service task
172164

173-
The second task of the process is the [service
174-
task](https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks/)
175-
**Send Email**.
165+
The second task of the process is the [service task](https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks/)
166+
**Send email**.
176167

177168
![Process](images/send-email.png)
178169

179-
To complete the service task, we need to implement the business logic. Therefore, we must create a [job
180-
worker](https://docs.camunda.io/docs/components/concepts/job-workers/) for
170+
To complete the service task, we need to implement the business logic. Therefore, we must create a [job worker](https://docs.camunda.io/docs/components/concepts/job-workers/) for
181171
the task type we defined in the diagram. The job worker will subscribe to all
182172
jobs with the same task type.
183173

184174
To define the task type, we select the service task in the diagram and use
185175
the properties panel to set the task type to `email`.
186176

187177
To implement the logic, we implement a job worker. Check out the
188-
programming language [specific folders](#repository-structure) to find the job
178+
[programming language folders](#repository-structure) to find the job
189179
worker implementations.
190180

191181
# Further references
192182

193-
Find more information in the [Camunda Platform 8 Documentation](https://docs.camunda.io), or join the [Camunda Platform 8
194-
Forum](https://forum.camunda.io) and [Camunda Platform 8
195-
Slack](https://camunda-cloud.slack.com) community.
183+
Find more information in the [Camunda 8 documentation](https://docs.camunda.io), or join the [Camunda 8
184+
Forum](https://forum.camunda.io).

images/cluster.png

112 KB
Loading

images/configure-service-task.png

261 KB
Loading

images/send-email.png

-1.27 KB
Loading

images/tasklist.png

196 KB
Loading

images/user-task-form.png

280 KB
Loading

0 commit comments

Comments
 (0)