Compute Function Configuration

When you use explicitly configured auxiliary fields, you populate the auxiliary fields with external data, and the system calculates the value of the complex aggregation type field you are configuring.

Therefore, the signature for the metric’s compute() function includes the auxiliary fields as arguments, and does not include the complex aggregation type field itself.

In the rule, you populate the auxiliary field values as you would any other aggregation field of its type. TIBCO BusinessEvents uses those values to calculate the value of the complex aggregation type field.

You can also compute the metric value using a mapper function.

For details, see Calculate Metric Values Using Ontology Functions.