Skip to main content

1E 8.1 (on-premises)

Policy.GetEventSubscriptions

Method

GetEventSubscriptions

Module

Policy

Library

Core

Action

Get the list of event subscriptions in the current policy.

Parameters

None

Return values

For each event subscription:

Topic (string): The event subscription topic.

Type (string): A JSON block containing application-specific data for this subscription (or empty).

Example

Policy.GetEventSubscriptions();

Platforms

  • Windows

  • Linux

  • MacOS

Notes

If the policy engine has been disabled through configuration, this method returns no data.

This method will return example data (for testing) in TIMS, because TIMS uses an alternative policy engine.