Subprocess and call activity
BPMN. A free Flowable lesson in simple English (2:32 minutes).
See it in the app
The same topic, shown in the real application.
Open in the academy (practice, progress and notes)
Chapters
- 0:00 What you will learn
- 0:18 Embedded subprocess
- 0:38 Subprocess or call activity?
- 0:59 Event subprocess
- 1:20 Practice question 1
- 1:47 Practice question 2
- 2:13 Summary
Lesson text
0:00 What you will learn
Welcome to lesson eleven. Big processes are hard to read. Today we learn three ways to put a group of steps together. They look similar, but they work differently. The exam likes to test the difference. This is an independent course. It is not made or approved by Flowable.
0:18 Embedded subprocess
A subprocess is a small process inside a bigger one. It has its own start, tasks and end. It is part of the same process definition. We often call it an embedded subprocess. It also creates a scope. For example, an event attached to its border can react to anything that happens inside it.
0:38 Subprocess or call activity?
A call activity looks similar, but it works differently. The subprocess is drawn inside the main process, and belongs only to it. A call activity calls a separate process definition. It is great for reuse. For example, many processes can call the same address check process. So, if you want to reuse a process in many places, use a call activity.
0:59 Event subprocess
An event subprocess is a special subprocess. It has no arrows coming in, or going out. Instead, it has a start event with a trigger, such as a message or an error. It starts each time that event happens while its parent is active. For example, if a customer cancels at any time, an event subprocess can handle the cancellation.
1:20 Practice question 1
Question one. Five different processes need the same address check. What should you use? A, copy the steps five times. B, a call activity that calls one address check process. C, a lane. Or D, a pool.
The answer is B. A call activity calls one separate, reusable process.
1:47 Practice question 2
Question two. Which subprocess has no incoming or outgoing sequence flows? A, an embedded subprocess. B, a call activity. C, an event subprocess. Or D, a user task.
The answer is C, an event subprocess. It starts when its start event is triggered.
2:13 Summary
Let's review. An embedded subprocess is part of the same definition. A call activity calls a separate, reusable definition. An event subprocess has no arrows in or out, and starts when its event happens. In the next lesson, we will learn about timers, messages and errors. Thank you for learning with us.
Practice questions
Five processes need the same address check. What should you use?
Answer: A call activity. A call activity calls one separate, reusable process.
Which one has no incoming or outgoing sequence flows?
Answer: An event subprocess. It starts when its start event is triggered.