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
|
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 |
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
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8yMzgxLzM3MTcvY2tmaW5kZXIvaW1hZ2VzL3F1LzE5NDkvVW50aXRsZWQlMjAoMSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY1ODQ1OTI4fX19XX0_&Signature=YgW4ufSmZ9ASgkXEOW~FBAC6WxhZCC9DxYlM4ei44-e3a7I0uJTqRqIo7JQU6Sz~lG6lu3e0SgZEHZCOK3BfcH~u8aZuOAISnlmZmu3B2JcfS-NAZm0gbVlo6UliiGb5B2uxPhgBmV6rpiBHSdT1Y-EZcfvqDHmOdhox2dOyL19N9~dcVGIjMx01wZ0Vw14LYur2nXc0JSvrSXl8xEoasJFQ5uIvtPELwGxxgv~gqck6d400rui8Telf5x017eWF9xiPu5zsY1Z~FQ21XQ0nErx3tM1jdWk~h29SODwXSPyBd4UPuTxS5jC6krC8m3lzz9F0FTrVKDOXtAwadMNpkg__&Key-Pair-Id=K2TK3EG287XSFC)
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
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8yMzgxLzQ0MDcvY2tmaW5kZXIvaW1hZ2VzL3F1L01pY3Jvc29mdFRlYW1zLWltYWdlJTIwKDQpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTg0NTkyOH19fV19&Signature=o0ypOcTVTzni5R~gEHPDu7iD-tZSQ6SytTp7ZF--z33W41ksd0LUbUK37hzFUyNOlIVlTAaM~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