Knack Operations
  • TABLE OF CONTENTS
  • Knack Operations Read-Only
  • Knack
    • Platform Overview
    • Functionality Guide
    • Style Guide
    • Single Sign On (SSO)
      • Configuring a new Knack App with certificates
      • Enabling SSO in Knack
      • Configuring new certificates for all Knack Apps - When certs expire!
        • SSL Certificate Management
      • Configuring an existing Knack App with certificates (Rare)
    • Banner Logos
    • Rounding Knack Costs Correctly
    • URL Parameters to populate a form
    • Importing Records
    • Copy an Application
  • Knack Integrations
    • Open Data Portal - Socrata Integration
    • ArcGIS Online Integration
    • CSR configuration prep in Knack
      • Creating CSR Page components
  • Knack Code
    • Code Version Control
    • GitHub Code Workflow
    • CODE: Retrieve builder URL of Email Rules
    • CODE: Mobile Optimization
      • Detail Labels
    • CODE: Custom Login Buttons
    • CODE: Vision Zero in Action
    • CODE: Knack Functionality
      • Big Buttons
      • Save Knack Record ID
      • Redirect Blank Menu Pages
      • Disable Trigger Buttons
      • Disable Modal Background Click/Touch
      • Disable Breadcrumb Navigation Links
      • Remove Back Links
      • Back Link Buttons
      • Return to Previous Page Button
      • Auto Input Validation Form Fields
      • Conditionally Hide/Show Form Fields
      • Return to Top Button
      • Refresh View Button
      • Detect IE
      • Set Map iFrame Source URL
    • CODE: Knack Look & Feel
      • Multipage Step Indicator
      • Modal Close Styling
      • Relabel Attachment Links
      • Navigation Dropdown Menu Buttons
      • In-Form Dropdown Menu Buttons
      • Trigger Buttons
      • Hyperlink a Form Field Label
      • Remove Table Header
      • Modify Table Summary Rows
      • Convert Values to UPPERCASE (Option A)
      • Convert Values to UPPERCASE (Option B)
      • Highlight Details View Label Body & Table Value
      • Report Headers
      • Report Filters Container Size
      • Report Element Colors
      • HighCharts Report Styling
      • Font Awesome Icons
    • CODE: Knack Print Page
      • Print Header with Page Break/Number
      • Print without overlapping views
      • Print using Menu Button
      • Print using Trigger Button
      • Show Character Limit of Input
      • Add fixed Footer on Print
  • AMD | DATA TRACKER
    • AMD | Data Tracker
    • Asset Changes
    • CSR | Flex Note Archiving
    • Cameras
    • Fix Broken CCTV Device Status Page Links
    • Performance Measures
    • Builder Notes
      • Configure New AMD Asset in Data Tracker
      • Data Tracker | Annual Signal and PHB Request Ranking
      • Page Rules (TMC) CSR
      • NOTIFICATION | Construction Status Email
      • NOTIFICATION | One Day Signal Engineer Due Date
      • DETAILS | Preventative Maintenance (PM)
      • DETAILS | Signal Detectors Object Tables, Reports, misc..
      • DETAILS | Signals
      • Signals Work Order | EDIT FORMS
      • Signals Work Order | FORM LOCATIONS
      • Editing Signals Work Order | NEW FORMS
    • Warehouse Inventory - Updating Journal Vouchers (JV) information
    • Cancel Transactions & Replenishments
    • Adjustment Transaction, Unit Cost Adjustments & Re-Stock
    • DTS | Adminstrative Action
  • DTS | Data & Technology Services Portal
    • DTS | Data & Technology Services Portal
    • Dataset inventory
    • Application Inventory
  • Finance & Purchasing
    • Finance & Purchasing Portal
    • Finance & Purchasing
      • Training, Quiz, Account Access Process
      • Statuses
      • List of emails generated
      • Re/Un-assigning Approver of a PR (Purchase Request)
      • Troubleshooting: FAQs
    • Warehouse Inventory
      • Adding a new inventory item
  • HiRe | The Hiring Resource
    • HiRe | The Hiring Resource
  • HR | Human Resources
    • HR | Human Resources Portal
    • How to add a new HR Form
  • PEP | Parking Enterprise Portal
    • PEP | Parking Enterprise Portal
    • Dispatch Resource Tracking Log Archiving
    • Update Parking Citation Report by Fiscal Year (FY)
  • ROW | Right of Way Portal
    • ROW | Right of Way Portal
    • COS JV Update
  • RPP | Residential Parking Permit Portal
    • RPP | Residential Parking Permits
    • Residential Parking Permits
    • RPP Migration
  • SBO | Street & Bridge Operations
    • SBO | Street & Bridge Operations
  • SMD | Signs & Markings Operations
    • SMD | Signs & Markings Operations
    • Table of Contents
    • Workflow
    • Markings | Work Orders
      • Process & Module Functionality
    • Markings | Service Requests
      • Process & Module Functionality
    • Signs | Work Orders
      • Process & Module Functionality
    • Signs | Service Requests
      • Process & Functionality
    • Contractor | Work Orders
      • Process & Module Functionality
    • Sign Fabrication Work Orders
      • Process and Functionality
    • Special Functions/Codes
      • Work Order Attachments
  • SMO | Smart Mobility Operations
    • SMO | Smart Mobility Portal
  • SMS | Shared Mobility Services
    • SMS | Shared Mobility Portal
    • License & Permit Management
    • Sources for Monthly Trip Records
  • STREET BANNER PROGRAM
    • Street Banner Program
    • Street Banner Program
  • TDS | Transportation Development Services
    • TDS | Transportation Development Services Portal
    • Color Palette
    • Role Permissions Guide
    • App Logic
      • Calculating Date Values for Reporting
      • Incrementing Review Cycle Automatically
      • Calculating Review Time & On Time Percentage
      • Calculating Cycle Completion Percentage
      • Calculating an Expiration Date
      • Automatic Due Date with Manual Adjustment
      • Roll up Child Object Conditionals
      • Converting an Entered Percentage to a Percentage Value
      • Create a Connection Link Field to View a Searched Record
      • Extracting Location Coordinates to add a Map Marker Map
    • TDR | Development Reviews
    • TIA | Traffic Impact Analysis
    • TDA | Transportation Development Assessments
  • Traffic Register
    • Traffic Register
    • Table of Contents
    • Workflow
    • Modules
    • Special Functions/Code
    • Permissions
  • TPW Forms
    • TPW Forms
  • VZA | Vision Zero in Action
    • VZA | Vision Zero in Action
    • Batch Copy Process for VZA Assignments
    • Calculate School Closures
    • Login Process for Officers
    • Officer Records
    • Update reports in Power BI
    • Use Tasks for Creating Child Records
    • Use Tasks for Notifications
  • O365 Resources
    • Resources
Powered by GitBook
On this page

Was this helpful?

  1. TDS | Transportation Development Services
  2. App Logic

Calculating Review Time & On Time Percentage

How to calculate review time for a review cycle, average review time, and on time percentage

PreviousIncrementing Review Cycle AutomaticallyNextCalculating Cycle Completion Percentage

Last updated 3 years ago

Was this helpful?

Required Fields - Child Object

  • Date/Time - Submitted Date Time

  • Date/Time - Review Started Date Time

  • Date/Time - Review Completed Date Time

  • Equation - Total Days

  • Equation - Days Under Review

  • Equation - Days Idle

  • Multiple Choice - Review On Time

Date Time Fields

These fields capture action timestamps when a record is created/submitted and when the reviewer either starts or finishes a review process. Make sure to set them up to capture time so we can accurately capture and calculate the review time. Be sure to not default date or time.

For these equations, Equation Type must be set to Numeric and we add 2 Decimal Places

Total Days

If the Review Completed Date is blank, we used the netWorkDays function to calculate the time difference between the Submitted Date and Current Date with the currentTime function. Otherwise, if Review Completed Date is not blank, we use the netWorkDays function to calculate the business days from Submitted Date to Review Completed Date.

{Scope Review Completed Date Time} == 0 ? netWorkDays({Scope Submitted Date Time},currentTime()) : netWorkDays({Scope Submitted Date Time},{Scope Review Completed Date Time})

netWorkDays function does not count Saturday or Sunday when determining time.

Days Under Review

If the Review Completed Date is blank, we used the netWorkDays function to calculate the time difference between the Review Started Date and Current Date with the currentTime function. Otherwise, if Review Completed Date is not blank, we use the netWorkDays function to calculate the business days from Review Started Date to Review Completed Date.

{Scope Review Completed Date Time} == 0 ? netWorkDays({Scope Review Started Date Time},currentTime()) : netWorkDays({Scope Review Started Date Time},{Scope Review Completed Date Time})

Days Idle

If the Review Started Date is blank, we used the netWorkDays function to calculate the time difference between the Submitted Date and Current Date with the currentTime function. Otherwise, if Review Started Date is not blank, we use the netWorkDays function to calculate the business days from Submitted Date to Review Started Date.

{Scope Review Started Date Time} == 0 ? netWorkDays({Scope Submitted Date Time},currentTime()) : netWorkDays({Scope Submitted Date Time},{Scope Review Started Date Time})

Review On Time

We setup this field as a Multiple Choice instead of a Yes/No in case there becomes a third option in the future. Right now we want to figure out if a review is on time or not on time. We setup two conditionals based on the Days Idle equation to determine if the review started less than 28 days after being submitted or if the review started after 28 days of being submitted.

The On Time field could also be setup to determine if the Days Under Review or the Total Days values exceed certain day thresholds.

Required Fields - Parent Object

  • Average - Average Days Under Review

  • Average - Average Days Idle

  • Average - Average Total Duration

  • Count - Number of On Time Reviews

  • Equation - Percentage of On Time Reviews

  • Number - Reviews On Time %

Average Fields

For these Average fields we set them up with 1 decimal place and some filters to make sure the value is not 0 or blank. We use these averages for reporting to give us a general sense of how long reviews are taking on average during different stages of the process.

Number of On Time Reviews

We simply just count the number of review records where the Review On Time value is On Time

Percentage of On Time Reviews

We take the count field Number of On Time Reviews and divide it by the count field Number of Reviews (the total). We make sure to set this to two Decimal Places to give us a more precise percentage.

Reviews On Time %

We set the Number Format to % and set it the the Percentage of On Time Reviews equation

The On Time % can be used for an entire case or per reviewer for example.