Analytic Data
Analytic data is used to capture information that matters to the stakeholder. They are defined through FEEL expressions with a name. Those expressions will be evaluated during automation.
The expressions must result in simple values and are stored as text. They can be the result of calculation or simply a field extraction from a complex data element.
Analytic data for decision services are evaluated only when decision service is deployed to execution environment that has Instance History enabled. |
Analytic data can be defined in two ways:
-
on decision service shapes or diagram - in the contextual menu, navigate to "Attributes" and then click on "Analytic Data…"
-
In DMN ribbon bar via Decision Service Editor - click on the icon "Edit Analytic Data"
Analytic data can reference all input datas and decisions that are part of the decision service:
-
output decisions
-
encapsulated decisions
-
decisions used as input of the decision service
-
input data
A subset of the FEEL boxed expression can be used to create the expressions.
Here’s a simple example that keeps the value of the "Total" data element as well as the count of items by order.
Analytic data can be removed by right-clicking on the left part of the row and selecting "Delete Analytic Data" in the contextual menu.
Analytic data can be retrieved using Cloud Execution.