---
parser: v2
auto_validation: true
time: 15
tags: [tutorial>beginner, products>sap-business-technology-platform]
primary_tag: products>sap-business-technology-platform
author_name: Kavya M Gowda
author_profile: https://github.com/KavyaGowda-UA
slug: cp-cf-processvisibility-enhancebusinessscenario
canonical_url: https://developers.sap.com/tutorials/cp-cf-processvisibility-enhancebusinessscenario
---

# Enhance Your Visibility Scenario for a Deployed Workflow
<!-- description --> Enhance your visibility scenario by configuring the status, phases, performance indicators, and attributes for the workflow added to track and analyze the business process.

## Prerequisites
- You have set up **SAP Workflow Management** service. For more information, see the [Set Up Workflow Management in Cloud Cockpit](cp-starter-ibpm-employeeonboarding-1-setup) tutorial.
- You have created a visibility scenario named **Employee Onboarding Process** with **onboard** workflow as a process participant. For more information, see [Create a Visibility Scenario for a Deployed Workflow](cp-cf-processvisibility-model-configscenario) tutorial.

## You will learn
-	How to enhance your scenario by configuring phases, attributes, and performance indicators
-	How to activate the scenario

## Intro
When you add a workflow to your visibility scenario as a process participant, a set of attributes and performance indicators are automatically configured to your visibility scenario. You can navigate to the respective tabs in the **Configure Visibility Scenarios** application to view them. You can either choose to activate the visibility scenario without enhancing or you can further enhance the visibility scenario by adding phases, status, calculated attributes, and performance indicators.

### Create phases

1. Add a phase to your visibility scenario by choosing **+** icon in the **Phases** tab.

    ![Add phase](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step2-addphase1.png)

2. Provide a the following details for the phase and choose **OK**.

    |  Field Name     | Value
    |  :------------- | :-------------
    | Name   | **`Confirm Equipment`**
    | ID     | **`ConfirmEquipment`**

    ![Phase name](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/phase-name.png)

3. In the **Start Events** drop down, select **StartEvent1 Started** and **Change or Confirm equipment Created** options.

    Field Name     | Value
    |  :------------- | :-------------
    |  Start Events   | **`StartEvent1 Started`**, **`Change or Confirm equipment Created`**

    ![Phase start](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step2-addphase1details.png)

4. In the **End Events** drop down, select **Change or Confirm equipment Completed** option.

    Field Name     | Value
    |  :------------- | :-------------
    |  End Events     | **`Change or Confirm equipment Completed`**

    ![Phase end](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step2-addphase1details2.png)

5. Similarly, create another phase named **Approve Equipment**. Then, select the **Approve Equipment Created** option from the **Start Events** dropdown and **Approve Equipment Completed** option from the **End Events** dropdown and **Save** the changes.

    |  Field Name     | Value
    |  :------------- | :-------------
    | Name         | **`Approve Equipment`**
    | ID           | **`ApproveEquipment`**
    | Start Events | **`Approve Equipment Created`**
    | End Events    | **`Approve Equipment Completed`**

    ![Add another phase](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step2-addphase2.png)


### Configure the target


1. Navigate to the **Status** tab.

2. Under the **Target** section, provide the following details and **Save** the changes:

    |  Field Name     | Value
    |  :------------- | :-------------
    | Target Type     | **`Constant`**
    | Target Value    | **`30 Days`**, **`0 Hrs`**, **`0 Min`**
    | Threshold       | **`70 %`**

    ![Configure Target](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step3-target.png)


### Add visibility scenario attributes

1. Choose the **Attributes** tab, you can view a set of default attributes in the left pane.

    ![Attribute](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step3-attributes.png)

2. Add a calculated attribute by choosing the **+** icon.

    ![Plus attribute](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step3-addattributes.png)

3. Add the following properties in the **Add Calculated Attribute** dialog.

    |  Field Name     | Value
    |  :------------- | :-------------
    | Name            | **`Time Taken To Approve Equipment`**
    | ID              | **`TimeTakenToApproveEquipment`**
    | Expression Type | **`Duration between events`**
    | Start Event     | **`Approve Equipment Created`**
    | End Event       | **`Approve Equipment Completed`**

    ![Add attribute](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Config-Step3-attributes2.png)

4. **Save** the changes.


### Configure performance indicators


1. Navigate to the **Performance Indicators** tab and add a performance indicator by choosing the **+** icon.

    ![Performance indicators](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/config-Step4-addPF.png)

2. In the **Add Performance Indicator** dialog, provide the following details and choose **OK**.

    |  Field Name     | Value
    |  :------------- | :-------------
    | Title           | **`Open Onboarding Requests`**
    | Sub-Title       | **`By Phase`**
    | ID              | **`Open_Onboarding_Requests`**

    ![Add performance indicators](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/Add-PP.PNG)

3. Choose the following options as shown in the **General** and **Data** section of the **Performance Indicators** tab:

    For **General** section:

    |  Field Name     | Value
    |  :------------- | :-------------
    | Title           | **`Open Onboarding Requests`**
    | Sub-Title       | **`By Phase`**
    | Description     | **`This performance indicator is for open onboarding requests.`**
    | Representation  | **`Bar Chart`**
    | Card Type       | **`List`**
    | Chart Type      | **`Bar`**
    | Level           | **`Instance`**

    For **Data** section:

    |  Field Name     | Value
    |  :------------- | :-------------
    | Measure         | **`Number of Instances`**
    | Dimension       | **`Active Phases`**

    ![Add performance indicators details](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/config-Step4-addPFdetails.png)

4. Choose the **+** icon under the **Filters** section of **Performance Indicators** to add a filter.

    ![Add filter](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/config-Step4-addPFfilter.png)

5. In the **Add Filter** dialog, provide the following details:

    |  Field Name     | Value
    |  :------------- | :-------------
    | Attribute       | **`State`**
    | Operator        | **`equal to`**
    | Value           | **`Open`**

    ![Filter details](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/config-Step4-addPFfilter2.png)

6. **Save** the changes.


### Activate the scenario


1. **Save** the scenario and then choose **Activate**.

    ![Activate](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/config-Step5-activate.png)

2. Once the scenario is successfully activated, you can see the status of the **Employee Onboarding Process** scenario as **Active**.

    ![After activate](https://raw.githubusercontent.com/sap-tutorials/btp-adai/main/tutorials/cp-cf-processvisibility-enhancebusinessscenario/config-Step5-active.png)



---
