Adding Entity Filter Configurations for the LiveView Agent

Specify entities which you want to display in the LiveView dashboard. You can specify a filter to select only those instances which qualifies the filter. Also, you can specify a trimming rule to trim the LiveView table based on the rule.

Procedure

  1. In the BusinessEvents Studio, open the project CDD file for editing and select Agent Classes tab.
  2. Under the Agent Classes list, select Entity Filter Configurations under an existing LiveView agent.
  3. Click Add to add an entity filter configuration.
  4. Specify the value for the following fields for the new filter and save the agent.
    Field Description
    Entity Uri Browse and select the supported entity that you want to send to the publisher based on your filter.
    Note: The supported entities are Concept, Metrics, and Events.
    Entity Filter Specify a query to filter out the entity based on your requirement.
    For example, the following values specifies to send the Account concept to the publisher only when Balance is greater than 10000.
    • Entity Uri - /Concepts/Account
    • Entity Filter - Balance > 10000

    If this field is empty, then all instances of the entity are pushed to the Live Datamart server.

    Enable Table Trimming Select the check box to trim or clean up the LiveView table automatically based on the user-defined rule specified in Trimming Rule. If the check box is selected, the following fields are displayed:
    • Trimming TimeStamp Field (Optional)
    • Trimming Rule
    Trimming TimeStamp Field (Optional) Specify name for an optional timestamp field for your entity.

    If your entity does not have a timestamp field to write the trimming rule, you can use this field to create a new timestamp field for the entity. This new field is part of the LiveView table after generating the LiveView configuration file.

    This field is displayed only when the Enable Table Trimming check box is selected.

    Trimming Rule Specify a rule to omit the entity data from the LiveView table that matches the trimming rule. The rule can use any field within the entity specified in the Entity Uri field. If required, you can also use Trimming TimeStamp Field for creating rules.
    For example,
    OrdStatus=='BAD' when ArrivalTime between epoch() and now()-seconds(6)
    where,
    • OrdStatus is a property of an Account concept.
    • ArrivalTime is a property defined in the Trimming TimeStamp Field field.

    This field is displayed only when the Enable Table Trimming check box is selected.

    Entity Filter Configurations for the LiveView Agent