Home / Flowable / Lesson 13

Read any process: execution practice

BPMN. A free Flowable lesson in simple English (3:17 minutes).

Open in the academy (practice, progress and notes)

Chapters

Lesson text

0:00 What you will learn

Welcome to lesson thirteen. This is a practice lesson. We will read processes, step by step, like the Flowable engine does. For each question, follow the token along the arrows. Pause the video, and decide before you hear the answer. This is an independent course. It is not made or approved by Flowable.

0:21 How to read

First, find the start event. Then follow the arrows. At each gateway, ask: one path, all paths, or some paths? At each join, ask: what is it waiting for? At each boundary event, ask: does it stop the task, or not?

0:38 Practice question 1

Question one. After a parallel gateway, Task B and Task C start. Task B finishes. A joining parallel gateway comes next. What does the process do? A, it continues. B, it waits for Task C. C, it cancels Task C. Or D, it ends.

The answer is B. A parallel join waits for all its incoming paths.

1:09 Practice question 2

Question two. An inclusive gateway has three paths. Two conditions are true. How many paths start? A, zero. B, one. C, two. Or D, three.

The answer is C, two. An inclusive gateway takes every path with a true condition.

1:36 Practice question 3

Question three. A user task has an interrupting timer of two days. Nobody finishes the task in time. What happens? A, the task keeps running, and a reminder is sent. B, the task is stopped, and the timer's path is taken. C, nothing happens. Or D, the process restarts.

The answer is B. An interrupting event stops the task.

2:05 Practice question 4

Question four. Version one of a process has ten running instances. You deploy version two, and someone starts a new instance. Which version does the new instance use? A, version one. B, version two. C, both. Or D, neither.

The answer is B, version two. New instances use the latest version.

2:33 Practice question 5

Question five. An exclusive gateway has no default flow, and no condition is true. What happens? A, the first path is taken. B, the process gets stuck. C, all paths are taken. Or D, the process ends happily.

The answer is B. The process gets stuck. That is why we use a default flow.

3:01 Summary

Great work. When you read a process, follow the token, and ask one question at each gateway, join, and event. In the next lesson, we start CMMN, and compare cases with processes. Thank you for learning with us.

Practice questions

A parallel gateway starts Task B and Task C. Task B finishes. Then comes a parallel join.

Answer: It waits for Task C. A parallel join waits for all its incoming paths.

An inclusive gateway has 3 paths, and 2 conditions are true. How many paths start?

Answer: 2. An inclusive gateway takes every path with a true condition.

A user task has an INTERRUPTING timer of 2 days. Nobody finishes it in time. What happens?

Answer: The task stops, and the timer's path is taken. An interrupting event stops the task.

v1 has 10 running instances. You deploy v2, and someone starts a new instance. Which version?

Answer: Version 2. New instances use the latest version.

An exclusive gateway has no default flow, and no condition is true. What happens?

Answer: The process gets stuck. The process gets stuck. That is why we use a default flow.