Business Rule Task
Introduction
A Business Rule Task provides a mechanism for the Process to provide input to a Business Rules Engine and to get the output of calculations that the Business Rules Engine might provide. The InputOutputSpecification of the Task will allow the Process to send data to and receive data from the Business Rules Engine.
— BPMN 2.0.2 Standard, 10.3.3, Business Rule Task
In case you do not use Drools yet, we recommend you to start with the DMN Decision Task. With the Business Rule Task it is not possible to model the rules inside Flowable Design.
In Flowable, Business Rule Tasks are used to interact with external rule engines such as Drools. By default, Drools Expert is used to evaluate the rules.
Example
The example below shows the use of Business Rule task in analyzing the result of a survey. The business rule engine is used to analyzing the data collected from the survey. The analyzed data is summarized by a service task and then mailed to the main office.
Properties
:::palette-item com.flowable.design:flowable-core-palette com/flowable/palette/core.process.palette BusinessRuleTask