How to create a report to view First Response Time
In order to track the idle time and response time of assignment group members, a Salesforce flow and a report are created. Please find the details below on how to create a report for Assignment Group members Response Time
Create Fields
- Go to Setup | Object Manager | Cases
- Go to Fields and Relationships and click on New.
- For first field select Date/Time as field data type. Name the field label as "First Activity/Response Date/Time".
- Click on Save and New
- For the next field select Number as Data Type with length set as 18 and decimal places as 0. Name the field as "First Activity/Response Time (Mins)"
- The 2 required fields are mention below, labels can be different (in that case please let us know) and object can be as required too
-
Required Field Label
Data Type
Required on Objects
First Activity/Response Date/Time
Date/Time
Opportunity, Lead, Case
First Activity/Response Time (Mins)
Number, 18
Opportunity, Lead, Case
-
Salesforce Flow
To get started with setting up the Salesforce Flow needed, follow the instructions below:
-
Click on the gear icon
on the top-right of your screen and select Setup
-
Locate the quick find on the left side of your screen and type in Flows and Click on the first returned result under Process Automation.
-
-
Locate and click on the New Flow button on the right of your screen
-
Choose the Record-Triggered Flow type from the available options and click on the Create button. This will automatically load the Configure Start pop-up.
-
In the Object lookup, select Case
-
Under the Configure Trigger section, for Trigger the Flow when: select A record is created or updated
-
Under the Set Entry Condition section, for the Condition Requirements drop-down, select All Conditions Are Met (AND) and set the following conditions:
-
Click in the Field lookup and select the Q-assign Last Assigned Date field from Case object
-
For Operator, select Is Null from the options
-
Click in the Value option search for False and select {!$GlobalConstant.False}
-
Click on the + Add Condition button
-
Click in the Field lookup and select the First Activity/Response Time (Mins) field from Case object
-
For Operator, select Is Null from the options
-
Click in the Value option search for True and select {!$GlobalConstant.True}
-
-
For the Optimize the Flow for: options, select Fast Field Updates
-
Click on Done
-
-
Click on the plus sign after the Start element
-
-
Choose Update Triggering Record element to use
-
When the New Update Records pop-up loads, enter the Label as Update First Activity Fields
-
Scroll down to the Set Fields Values for the Case Record section
-
For Field choose the First Activity/Response Time(Mins) field from the Case object
-
Click inside the Value field and choose + New Resource
-
From the Resource Type drop-down choose Formula
-
Enter FirstActivityTimeInMins as the API Name
-
Enter the Description for the resource i.e., This formula takes the Q-assign Last Assigned Date of the Case and calculates the time of first response in minutes
-
From the Data Type drop-down choose Number
-
Enter the formula below
-
(NOW() - {!$Record.ortoo_qra__Q_assign_Last_Assigned_Date__c})*24*60
-
-
Click on Check Syntax button and see if the formula is valid then click on Done
-
-
-
Scroll down and click on the + Add Field button
-
For Field choose the First Activity/Response Date/Time field from the Case object
-
Click inside the Value field and choose + New Resource
-
From the Resource Type drop-down choose Formula
-
Enter FirstActivityDateTime as the API Name
-
Enter the Description for the resource i.e., This formula takes creates the current Date/Time
-
From the Data Type drop-down choose Date/Time
-
Enter NOW() in the formula
-
Click on Check Syntax button and see if the formula is valid then click on Done
-
-
-
-
Click on Done for the Update element
-
Save and Activate the Flow
Report
- Select Reports | New Report | Cases as the report type.
- Select the following fields in the columns section:
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8yMzgxLzQ0MDcvY2tmaW5kZXIvaW1hZ2VzL3F1L01pY3Jvc29mdFRlYW1zLWltYWdlJTIwKDQpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2MzY2MTEyM319fV19&Signature=fZS-awuKCUzIc5dKrGHX1~geWtE-8uq27MVFBO9jaSdiKCjIfpqrYhPJfaEp2zcxMnuPq5JMkc5TDZKIUHNn8FdwcQ1MzwaZXC6x4cR8Zaoff0ZOV3V3vQDoY9lNqiTwr2Aw-IwRRTwCH1RYkEg044Esyv5k4heaMBBryPipJPHi-iA6YyHfaRj2CIw0lrU1OdpXXPAYEBZ7XDxCmxcZYUDwd~8Ey1ZVigGl05bBGiKqc-V5SoUnlh52qOn9Pu-IvhvsMReJQV4kxVPToArZEhdSH0mv5fGsKBAxeKXfOGEHL-pDnOfUR~PhUV8KhBrlHuqBdQ9I6fIfRqJSZlT9MA__&Key-Pair-Id=K2TK3EG287XSFC)
- Set the filter as shown below:
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8yMzgxLzQ0MDcvY2tmaW5kZXIvaW1hZ2VzL3F1L01pY3Jvc29mdFRlYW1zLWltYWdlJTIwKDUpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2MzY2MTEyM319fV19&Signature=njj4QQWos1-7WI85qhxE6Qu5QoB8pP1-3v6lGrxkc4RiRvE5IxE7pk6neOvye~DVDO66PjKFSqCtTK-v3Ht6fyS1zXYZmB~R-Iu-ZECZk4II-zmny3BWDEw4kNxEwd2uqmtvQWNOOpkXjDDXFUJx8hVaU-U6DU-qmxlwzJGn9QnTCmVBhz4XVUmorSiy362cjgu3OLQx9wQl5ZSE2lZ5iRnG-4dUQoLMlO8ByebF1yV8K14Kq3TBf35DkK8QIzqGeof0l6lXSaK2GpB3TP1l7xg26B8j6wKePscOJiOI~55VkxDntz063ccZXeE92LIDUBGjNhyz~5bmgZco~p78OA__&Key-Pair-Id=K2TK3EG287XSFC)
- A similar report should be created for Leads, Opportunity, or any other object if required.
Please contact us at support@ortooapps.com for any questions.

.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8yMzgxLzM3MTcvY2tmaW5kZXIvaW1hZ2VzL3F1LzE5NDkvVW50aXRsZWQlMjAoMSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzYzNjYxMTIzfX19XX0_&Signature=XXU0DLM2cW8GsbnBZsIbe0WWBcKVkUuCl1LnUDFYNtqULgxPxPZp0RQ8h-xtOksnYeFJQNefJ265dAgnI4Bcdb5GBYMNZr6KiEuT4MwiD-CRI7X~sV76R-TlKz6PhPcdgTOIPjdaN1~DXoNi5I~YbfvWlDTa2KoQNTHVygutu2Jd0ebQz3TBC-Extr9Icxlkgh-Rt1qC0Pol6cSLCouXrW6Yjs-462cXAIFSFu59RBEYEZWTdfE8~zExM5haVoQP7fLsMtv5UCeHpnb6e2SM~wLzZb0l3Ozku0fAUlHPXzdyDGTa3UoVMP0M9pczpRSKDRA6Dv2H-4PXVLSphxDBOA__&Key-Pair-Id=K2TK3EG287XSFC)
