Customizing Event Components

By default, the Event Viewer displays events from specific ActiveMatrix BPM components.

For example:

The components whose attributes are displayed in the Event Viewer are configured in the eventComponents.xml:

    <EventComponent Name="N2LF"
                Description="eventComponents.Description.N2LF"/>
    <EventComponent Name="Common"
                Description="eventComponents.Description.Common"/>
    <EventComponent Name="EC"
                Description="eventComponents.Description.EC"/>
    <EventComponent Name="BX"
                Description="eventComponents.Description.BX"/>
    <EventComponent Name="PFE"
                Description="eventComponents.Description.PFE"/>
    <EventComponent Name="BRM"
                Description="eventComponents.Description.BRM"/>
                   .
                   .
                   .

Each <EventComponent> element contains the following attributes:

  • Name - The name of the event component.
  • Description - A key that corresponds to a record with a matching "id" attribute value in the JSXAPPS/base/locale/eventLocale.xml resource file. At runtime, the value of the "text" attribute, for the corresponding record in eventLocale.xml, is substituted for this attribute value and becomes the component description that is displayed in the list of attributes.

If a new component has been added to the system, it can be added to Workspace so it appears in the Event Viewer, as described in the following procedure.

Procedure

  1. Open the eventComponents.xml file for the desired role.
  2. Add a new <EventComponentelement> for the new component. For example:
     <EventComponent Name="WFE" 
    		    Description="eventComponents.Description.WFE"/> 
    		
  3. Save and close the eventComponents.xml file.
  4. Open the eventLocale.xml file—for information about its location, see Event-Related Text.
  5. Scroll down to the bottom of the eventLocale.xml file and locate the “eventComponents” records.
  6. Add a new “eventComponents” record for the new component:
    1. Set the id attribute to the value you provided in the Description attribute in step 2.
    2. Set the text attribute value to the name you want displayed for the component in the Event Viewer.
  7. Save and close the eventLocale.xml file.
  8. Open the eventAttributes.xml file and add entries for the component’s attributes.

    For information about adding attributes to the eventAttributes.xml file, see Customizing Event Attributes.

  9. Save and close the eventAttributes.xml file.

Result

The new component and its attributes will now appear in the Event Viewer.