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
Anandh GopalAnandh Gopal 

How to check whether the opportunity is newly created or cloned ?

In one hand I have few opportunities created manually. On the other hand I have few opportunities which are cloned from the previous. Now I am in a position to write a trigger on Opportunity object, so how can I differentiate these opportunities ?

Thanks

karnadesaikarnadesai
Anandh GopalAnandh Gopal

Thank you very much for your suggestion