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

Hiding shapes

You can hide shapes in the Scalable Vector Graphics (SVG) diagram based on the value of a metric or key performance indicator (KPI) at run time.

For example, in a process diagram, you can hide the tasks that have completed and show only the tasks that are still running or have not yet started.

To hide or display a shape set:


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 > Hide Shapes.

  3. To hide the shape set based on an expression, add a condition in the Condition row.

    For example, if you want the shape set to be hidden if a KPI is greater than 60, you would type KPI_name > 60. You can either type directly into the cell, or, for a large expression, click the button to open a resizable window. For help writing the expression, press Ctrl+Space.

    Because you are creating expressions to be resolved at run time, you can only use the elements in the context that the diagram is attached to. If the diagram is attached to a monitoring context, you can use the metrics, keys, counters, and stopwatches in that context. If the diagram is attached to a KPI context, you can use the KPIs in that context.

Defining actions