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
David SamersonDavid Samerson 

Como eu pego o valor da quantidade de dias em cada fase da oportunidade?

User-added image
Preciso pegar este valor da quantidade de dias que uma oportunidade passou em cada fase, mas não acho nada relacionado, só vejo pra relatórios.. alguém pode me ajudar?
Jayesh_TejwaniJayesh_Tejwani
1) We have used Opportunity History object to get the records where the stage was changed.
2) We have used in our org a workflow rule which is fired on stage updates, it updates a date field to store the time at which stage was modified, similarly for the next stage and then we calculate the difference between those 2 dates.

Please rate if you find this as best answer!