IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Defining the visual model

Defining actions

To be updated dynamically at run time, a Scalable Vector Graphics (SVG) file needs a group of named shape sets for referencing sets of individual shapes in the SVG diagram. It also needs a set of actions (such as color or text changes, or effects on widgets in the Monitor dashboard space) that describe how the SVG elements represented by the shape sets change their properties based on the values of metrics or key performance indicators (KPIs) at run time.

If you created an SVG file following the instructions in Preparing SVG diagrams or exported an SVG file from WebSphere Business Modeler, the file contains shape sets with IDs that are associated with the monitor model namespace. When you import the SVG diagram into the Monitor Model editor, a shape set is automatically created for each shape with an ID.

There are several ways to specify how diagrams will be dynamically updated based on metric or KPI values in the Business Monitor dashboards:

To define an action:


Procedure

  1. Place your mouse cursor on the diagram and find the shape set in the area of the diagram that you want to affect. The cursor changes to a hand when it is on the shape set. Click the diagram to highlight the corresponding shape set in the table at the bottom of the page.
  2. Right-click the shape set in the table and click Add Action. Add the action that you want. See the pages that follow for more details about the individual actions.

  3. After you have added an action, you can right-click the action and click Apply to Shape Sets to associate the same action with a different shape set, or with many shape sets.


Results

Actions that apply to more than one shape set are placed under each of the shape sets to which they apply. Changing one action changes them all (because there is really only one).

Defining the visual model