Capturing Business Metrics in a Flow
  • 18 Feb 2021
  • 3 Minutes to read
  • Dark
    Light

Capturing Business Metrics in a Flow

  • Dark
    Light

Article Summary

Overview

Business Metrics are quantifiable values that measure the success and efficiency of a given business process. For additional information, see About Business Metrics.

In this example, Decisions allows users to choose the Flow Step(s) associated with that application as relevant Business Metrics and display it in a Dashboard for analysts to see. This example tracks approvals versus rejections for a Flow.

Example

First, define the metrics. This will have an impact on the model building later.

  1. From the Design Studio, navigate to System > System Data > Business Metrics.
  2. Select ADD METRIC/SLA from the Global Action Bar.
  3. Define the Metric Category as "LoanProcessing" and the Metric Name as "Approvals", then click SAVE. 
    1. Repeat this process again using the same Metric Category, but this time defining Metric Name as "Rejections."
      Following this Process with create a singular Metric Category called "LoanProcessing", and two Metrics pertaining to that Category; "Approvals" and "Rejections."

  4. Next, CREATE the Flow that will utilize the Business Metrics by navigating to a Designer Project and selecting CREATE FLOW.

    1. Select Flow, provide a Name, then click CREATE.

  5. From the Flow Designer, attach a Show Form step, from the FAVORITE STEPS category of the Toolbox tab.

  6. From the Show Form step's Properties tab, click PICK OR CREATE FLOW, then select CREATE.

  7. Design a Form that contains two Button components; one displaying the Button Text, "Approve", the other "Reject." Save then close the Form via X.

  8. Connect an additional Show Form path to the Approve path; select the new Show Form step then CREATE a new Form. 

  9. In the Form Designer, configure a Form that contains a "Submit" and a "Cancel" Button. Save and close this Form. 

  10. Attach another Show Form step, this time to the Reject path; PICK the Cancel/Submit Form. 

  11. Attach all remaining paths to the End step, then select the Cancel/Submit Form.

  12. From its Properties tab, navigate to ADVANCED > Business Metrics and select the Edit icon (denoted by a pencil icon). 

    1. Select the LoanProcessing/Approvals Metric from the left column, then click PICK. 

    2. Repeat this process for the Cancel/Submit Form on the Reject path, this time selecting the LoanProcessing/Rejections Metric

  13. Save and close the Flow. 

  14. From a Designer Project, select CREATE REPORT, click Page, provide a Name, then click CREATE.

  15. From the Page Designer, navigate to Toolbox > TILES, and add a Diagram Tile. From the Diagram Tile's Properties tab, click PICK DIAGRAM TILE FLOW. 

    1. Select CREATE, then Diagram Tile, Name the Tile, then click CREATE once more. 

  16. From Diagram Designer, add a Start step, an End step, and two Page - Form Shapes from the Toolbox tab. 

  17. Navigate to the Properties tab for one of the Page - Form Shapes and edit the CONFIGURATION DEFAULTS.

    1. Map "Approval Count" under Text, and change the Background Color.

    2. Under the Outcome Paths input, map Done. Then, attach the Done path to the End step.

  18. Repeat the process in step 17 on the other Page - Form Shape; this time map "Rejection Count" to Text, and provide a different Background Color. 

  19. Select the Start step and provide two Outcome Paths. Map one to Approval Count, and the other to Rejection Count.

  20. Navigate back to the Toolbox and expand the BUSINESS METRICS category, then expand LOANPROCESSING, APPROVALS, and REJECTIONS. 

    1. Drag the Count Metric overtop each respective Page - Form Shape.

      These Metrics will display the Counts for each Approval and Rejection on the Diagram Tile within the Page.

  21. From BUSINESS METRICS > LOANPROCESSING > APPROVALS, drag Percentage in the blank space in the middle of the Flow. 

    The Approvals Percentage Metric will display the count of Approvals versus Rejections. 

  22. Under Toolbox > ANNOTATION, add a Label - Medium component next to the Approvals Percentage Metric; define its Text accordingly. 

  23. Save and close the Diagram Flow.

  24. Save the Page, then close if desired. 



Debug

  1. From Designer Project, Run the Business Metrics Flow making sure each time to select different paths. 
  2. Right-click a Designer Project and select Manage > Page/Dashboard > Add Page/Dashboard
  3. Click PICK PAGE, and select the Page containing the Diagram Tile, then click SAVE.
  4. Navigate to the Designer Project containing the Business Metrics Page then navigate to its respective tab. 
    The tab will display the Page containing the Diagram Tile containing the configured Business Metrics; the Approval and Rejection counts, and the Percentage of Approvals. 


Was this article helpful?

What's Next