Viewing the Status of Activities in a Process as Traffic Lights

Open the Traffic Light View from the Business Control Center Perspective to view the status of all instances of activities in a process definition cumulated as a traffic lights/process definition

Note
The Traffic Light view does not consider Quality Assurance activity instances.

Configuration

To start the configuration of the Traffic Light View, select the Configuration option in the Stardust Portal. The Configuration View opens. For details on this view, refer to chapter Configuring Portal Settings.

Configuration Switch
Figure: Open Configuration Section

Select Traffic Light to open the Traffic Light specific configuration section.

Configuration Rear Panel
Figure: The Traffic Light Configuration Section.

In the Select Process Definitions for configuration pane select one or more processes for configuration. All processes are available for selection, which the logged-in user has the declarative security permission Read Process Instance Data for. This permission is defined for the process definition in the modeler. Refer to the section Authorization for Process Definitions of chapter Authorization in the Stardust Online Documentation - Modeling Guide Authorization for Process Definitions of the Authorization chapter in the Modeling Guide for detailed information on the Read Process Instance Data permission.

Select Processes.
Figure: Select Processes.

The selected processes appear in the Process selection box.

Select Process.
Figure: Select the Process to configure.

Once a process is selected, values for the Traffic Light View properties can be entered or modified.

Editing Properties.
Figure: Editing Properties.

The State Calculator and Descriptor Filter fields are optional: if no values are entered, the default values are used for the Traffic Light View.

The table with Row Data Id and Row Data Values, Row Data Id contain the descriptors valid for the selected process. In the Row Data Values entry fields you can enter the descriptor values for which activities should be displayed in the Traffic Light View.

All activities receiving a value in this table are displayed as a column in the Traffic Light View.

Select Save to apply the configuration settings. To discard your settings, choose Cancel.

The View

The Traffic Light view supports a top-level value chain, where the activities represent complex subprocesses.

The Traffic Light View
Figure: The Traffic Light View

Traffic Lights

A Java service provider interface is provided to implement specific business logic to decide which color the traffic light should display. The implementing classes need to implement the following interface:

public interface ActivityTrafficLightCalculator 
{
    public int getColorStateForActivity(String processDefintionId, String activityId,  
       int numberOfNotCompletedActivities, 
       int numberOfCompletedActivities);
}

Please add your implementing classes to the classpath of your Web application.

The traffic light icons indicate:

Hereby, the traffic lights are displayed in a tabular view with one column per activity, e.g.:

Traffic Light
Figure: Traffic Lights

Traffic Light History

The state of the instances of an activity is kept at the time the activity reaches its configured escalation time. If the situation is resolved at a later time, this is indicated by a checkmark symbol next to the traffic light:

Traffic Light History
Figure: Traffic Light History

For example if it is expected that all processes of the day finish an activity Cash by 10:00 a.m., but two process instances out of 3 are late and the traffic light changes to red at 10:00 a.m. Some time later the two missing process instances pass through the activity. The traffic light does not change to green then, but the checkmark next to the traffic light shows that it was resolved later.

Rows

A number of rows where data filter are applied against the process instances on the values is displayed. You can determine which categories are displayed in the rows in the category filter.

Process Filter

To choose the process to be displayed, select it in the Process drop-down list.

Select Choose Process
Figure: Select Choose Process

Category Filter

To filter the displayed rows by categories, choose one of the provided categories in the Choose Category drop-down list.

Category Filter
Figure: Category Filter

For example the rows grouped by a category called "Product" will be displayed as follows:

Dynamic Row Grouping
Figure: Dynamic Row Grouping Example

The number of completed activity instances and the total number of activity instances in the corresponding category is displayed beside the traffic light. For example 1/2 is displayed for 1 completed activity instance of 2 in total.

Display Activity Instances List

To display all activity instances possibly filtered by the corresponding data filter, click the corresponding traffic light.


Figure: Select to display the Activity Instances

Two tables will open displaying all descriptor values of the underlying instance and the appropriate start time:

Activity Completed

This table includes all activity instances which have passed the selected activity. For a detailed description on the columns and functionality of the activity table, refer to chapter Working with Activity Tables.

Please note that for passed activity instances only the actions for notes and invoking process details are enabled.

Activity instances passed activity
Figure: Activity instances that have passed the activity.

To see details about the activity instance, click on the Activity Name entry to open the Viewing Process Details view.

Activity Completion Pending

This table includes all activity instances which have not passed the selected activity. For a detailed description on the columns and functionality of the activity table, refer to chapter Activity Tables.

Activity instances not passed activity
Figure: Activity instances that have not passed the activity.

To see details about the activity instance, click on the Activity Name entry to open the Process Details view.