Skip to main content
snehal shinde 님이 #Sales Cloud에 질문했습니다

I want to create TAT for case object. i need a first response time of the case and i want to set this at 10 mins.. i have created time out and time in fields and applied formula for it and first response field where i have used (floor((NOW()- CreatedDate )*24)) + (((((NOW()- CreatedDate )*24)-floor((NOW()- CreatedDate )*24))*60)/100) formula.. and i have also created field named TAT and used formula 9 - First_Response_Time__c.

on record page i have added Business hours countdown timer but cant get proper TAT there..  can anyone help me with this?

#Trailhead Challenges

답변 1개
  1. 2022년 12월 27일 오후 8:12

    @snehal shinde

    FLOOR((NOW() - CreatedDate) * 1440) +

    (((((NOW() - CreatedDate) * 1440) - FLOOR((NOW() - CreatedDate) * 1440)) * 60) / 100)

     

    This formula calculates the first response time of the case in minutes by subtracting the case's CreatedDate from the current time, converting the result to minutes, and rounding down to the nearest integer.

     

    10 - First_Response_Time__c

0/9000