Skip to main content

Decision Task

Introduction

Decision Task

Decision Tasks are used to execute Business Rules encoded in DMN tables. You only have to indicate a Decision Table Reference; the mapping of the variable is configured in the Decision Table. See Decision Table Editor for details on creating a Decision Table.

Each input in the Decision Table is mapped to a variable which must be available in the process. The same is true for the output columns which do not necessarily have to exist.

Once the task is executed, the inputs are checked according to the Hit Policy defined in the table. If at least one rule matches, the values of the output columns are stored in the variables indicated in the table.

Example

In the following example, a Decision Task is used to determine the credit rating of a potential client.

Decision Task

Properties

:::palette-item com.flowable.design:flowable-core-palette com/flowable/palette/core.process.palette DmnTask