Previous Topic: Event ReusabilityNext Topic: Register Event-consuming Metrics


Create Event-sending Metrics

To specify that a metric can send events, a new function called SendEvent was added to the Tools object. For more information see Tools Object.

To create an event-sending metric:

  1. In the Business Logic tab, add a SendEvent statement to metric’s business logic code.
  2. Add parameters to the SendEvent function.
  3. [Optional]. Modify other parts of the Business Logic code.
  4. Click Save.

    The event-sending metric is added.

A metric that sends events to other metrics can be deleted provided permissions to edit contracts, contract templates and service level templates are set.

Note: If a metric that already created events is deleted, a warning opens.

To delete an event-sending metric:

  1. Select the contract's metric to be deleted and click Delete. A warning dialog box opens.
  2. Click OK.

    The specified metric is deleted.

Note: If there is no metric registered to the deleted metric or there is no uncalculated event sent by this metric, the warning dialog box does not display.