You need to sign in to do that
Don't have an account?
Athira Venugopal
How to find out the time spent by a specific user on a case record from its 'New' to 'Closed' status?
Anyone please help me!!
I just created a formula field to calculate the time spent between status changes 'New' and 'Closed'. But it's not user specific. ie, if im the one who logged in i want to see the time i had spend on that.
I just created a formula field to calculate the time spent between status changes 'New' and 'Closed'. But it's not user specific. ie, if im the one who logged in i want to see the time i had spend on that.
I guess they way you can achieve that is by Set History Tracking on status, in this way you get the audit of the field change by user. You can than create a Lightning Report (as you can't do report on History SObject in classi) to show the info as needed.
The other way you can create an SObject something Case Status Workflow and insert record as status change. You just need to add the following fields:
- Status
You can build Report on SObject both in classic and lightning.Let me know if this helps
Thanks for your reply. Is there any way to do this using Process builder or trigger?
You can use the following trigger, please note this is just to give you an idea. You can change the trigger as per your need
Test class