Set of values (XML element attribute)

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE keyindicatorconfig SYSTEM

'KeyindicatorConfiguration.dtd'>

<keyindicatorconfig>

...

<calcattr name="..." type="...">

<calculation>

...

<attribute name="..." nodetype="..."

objectname="..." onerror="..."/>

...

</calculation>

</calcattr>

...

</keyindicatorconfig>

The attribute XML element returns a set of attribute values as its result. It contains all object attribute values (nodetype not equal to PROCESS) specified in the process instance for the specified attribute.
For process instance attributes (nodetype="PROCESS"), the set of values only contains the value of the attribute specified for the instance.
If the attribute is not specified within the process instance, the set of values is empty.

XML tag

Description

name

Internal name of the attribute
If the attribute name is specified with a * placeholder at the end, the values of all attributes whose names begin with the specified string are included in the set of results.

nodetype

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

objectname
(optional)

For function attributes (nodetype="OT_FUNC") the set of values can be limited to attribute values for the specified object name.

If this is specified as the object name, the attribute value is retrieved for only the function for which the calculation is currently being executed.

If like is specified as the object name, the attribute value of all functions with the same name is retrieved.

onerror
(optional)

Controls the behavior of the Measure calculator if no set of attribute values can be retrieved:

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 an empty set. The superordinate operators determine error handling procedures. There is no output in the log.

Warning

Specifying an object name of this or like in the objectname XML attribute is only permitted for the calculation of function attributes (nodetype="OT_FUNC").

Example 1

The set of values contains all AT_KI_FDLZ attribute values (function cycle time) for functions that have the same name (AT_OBJNAME_INTERN function attribute) as the currently calculated function.

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE keyindicatorconfig SYSTEM

'KeyindicatorConfiguration.dtd'>

<keyindicatorconfig>

...

<calcattr name="AT_KI_FDLZSUM" type="OT_FUNC">

<calculation>

<sum>

<attribute name="AT_KI_FDLZ" nodetype="OT_FUNC"

objectname="like"/>

</sum>

</calculation>

</calcattr>

...

</keyindicatorconfig>

Example 2

The values of all attributes whose names begin with AT_SALES_VOLUME_ are taken into account.

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE keyindicatorconfig SYSTEM

'KeyindicatorConfiguration.dtd'>

<keyindicatorconfig>

...

<calcattr name="AT_KI_XXX" type="PROCESS">

<calculation>

<sum>

<attribute name="AT_SALES_VOLUME_*"

nodetype="OT_FUNC"/>

</sum>

</calculation>

</calcattr>

...

</keyindicatorconfig>

Pattern matching of the internal attribute names is subject to the following limitations: