Using the XSLT Mapper Function to Create or Update a Metric from Studio

You can also use the XSLT mapper to create metric instances.

Procedure

  1. In Studio Explorer, open a rule or a rule function in the editor.
  2. In the Catalog Functions tab, expand the Built-in Functions, and select createOrUpdateMetric from the Metric folder.
  3. Drag it in the rule editor at an appropriate location.
  4. Open the XSLT Mapper by control-clicking "xslt://".
  5. Browse and specify a metric in the Entity Path box.
  6. Provide the values of metric fields in the Function panel either by typing them directly, or by mapping them to the event, concept, or scorecard properties from the Scope Variables panel.
  7. Click OK.