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
Bassamb DialloBassamb Diallo 

Mark "True" a check on the opportunity while opening the clone screen

Hi Members,

There is a checkbox on the opportunity I want to mark to True when opening the opportunity clone screen by clicking the standard clone button.

Is there a way to do it using flow or any other idea tool (apex) ?

Thanks!
User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Bassamb,

You can check isclone() function in the trigger on after insert and update that orginal opportunity as mentioed in the below stack exchange post.

https://salesforce.stackexchange.com/questions/127792/opportunity-standard-clone-button-how-to-detect-cloned-record-in-an-apex-trigge#:~:text=In%20the%20before%20insert%20trigger,is%20being%20created%20through%20cloning.


If this solution helps, Please mark it as best option.

Thanks,
 
Md ThameemMd Thameem
Just follow this URL with easy steps to achive in workflow rules,

https://help.salesforce.com/s/articleView?id=000316690&type=1
Bassamb DialloBassamb Diallo
Thank you for your reply.

I need to update the field when the Clone screen is open as I mention on the screen shot attached the question
Not after Insert or Update. I