function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Henrique OrtizHenrique Ortiz 

I need a date Field for the change of Owner

Hello guys!

I'm having a hard time trying to figure this out.
I need a date field that brings me the last time a case has the owner change, that owner could be a queue or a user. 

How can I do this?
Best Answer chosen by Henrique Ortiz
Amit Singh 1Amit Singh 1
You can achieve this using either of any way given below :

Using WorkFlowL
Create a WorkFlow on that Object which will only execute whenever owner of the record has been changed and then update a field to today date using Field Update as an Action

OR

You can use before trigger and set the todays date to that date field.

Note : - You need to create a new custom field on that Object for both the solutions.

Let me know if this helps :)

All Answers

Amit Singh 1Amit Singh 1
You can achieve this using either of any way given below :

Using WorkFlowL
Create a WorkFlow on that Object which will only execute whenever owner of the record has been changed and then update a field to today date using Field Update as an Action

OR

You can use before trigger and set the todays date to that date field.

Note : - You need to create a new custom field on that Object for both the solutions.

Let me know if this helps :)
This was selected as the best answer
Henrique OrtizHenrique Ortiz
Hello, Amit,
I'm trying the first choice for some time, but without sucess.
I can't set up the workflow correctly.

Can you help me?