Values (XML element filteredattribute)

<?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
Use of pattern matching is not supported with the filteredattribute XML element, as it relates to a single attribute only.

nodetype

Attribute type: Function attribute (OT_FUNC), process instance attribute (PROCESS), or
relation attribute (RELATION)

objectname
(optional)

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:
this
The currently calculated attribute (calcattr name="..." type="RELATION" relname="REL_...") is searched at the relation.

source
The source object of the relation is searched for the attribute.

target
The target object of the relation is searched for the attribute.

filter
(optional)

Filter that is used to select the element from the set of values (not for objectname="this"):

EARLY
The attribute value is transferred for the object for which one of the AT_START_TIME and AT_END_TIME attributes gives the earliest time overall.

LATEST
The attribute value is transferred for the object for which one of the AT_START_TIME and AT_END_TIME attributes gives the latest time overall.

onerror
(optional)

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.