Business Rule Task

Overview

A Business Rule Task is a task that evaluates a DMN table when it is reached in the process flow. See Using DMN 1.3 chapter for creating and managing DMN tables.

图形表示法

A business rule task is visualized as a rounded rectangle with a small table icon in the top-left corner.

business rule task
XML 表示

Technically, a business rule task is a service task of special type:

<serviceTask id="business-rule-task" name="Business Rule Task"
    flowable:type="dmn"> (1)
  <extensionElements>
    <flowable:field name="decisionTableReferenceKey"> (2)
      <flowable:string>decision-example</flowable:string>
    </flowable:field>
  </extensionElements>
</serviceTask>
1  — Defines task type.
2  — Refers to the decision table.

Properties

A business rule task has the following properties:

business rule task properties

Actually, it has one specific property — Decision Table Key. Here you can select one of the existing DMN tables from the pull-down list:

select decision table

Process with undefined decision table in the business rules task cannot be deployed.