<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE keyindicatorconfig SYSTEM
'KeyindicatorConfiguration.dtd'>
<keyindicatorconfig>
...
<calcattr name="..." type="...">
<calculation>
...
<filteredattribute name="..." nodetype="..."
objectname="..." filter="..." onerror="..."/>
...
</calculation>
</calcattr>
...
</keyindicatorconfig>
To calculate a concrete value from a set of values, all of the mathematical functions presented in chapter Operators producing a value can be used, which deliver a specific value as the result. Alternatively, you can use the filteredattribute XML element to calculate a specific value from a set of attribute values.
The entries for name, nodetype, objectname, and onerror correspond to those for the attribute XML element.
XML tag |
Description |
---|---|
name |
Internal name of attribute |
nodetype |
Attribute type: Function attribute (OT_FUNC), process instance attribute (PROCESS), or |
objectname |
For function attributes (nodetype="OT_FUNC") the set of values can be limited to attribute values for the specified object name. For relation attributes (nodetype="RELATION"), the following values are permitted: source target |
filter |
Filter that is used to select the element from the set of values (not for objectname="this"): EARLY LATEST |
onerror |
Controls the behavior of the Measure calculator if no attribute value can be identified: EXIT_WARNING: Cancels the current attribute calculation and outputs a warning to the log. EXIT_NO_WARNING: Cancels the current attribute calculation with no output of a warning to the log. CONTINUE: Default value. The current attribute calculation is continued with NULL. The superordinate operators determine error handling procedures. There is no output in the log. |
By specifying the object type (nodetype), attributes with the same name in the process instance and for objects belonging to the process instance can be differentiated.