Is there a way to identify, with a checkbox for example, if a record has been cloned. I need to identify this on the master record, not on the record copy. I see there is the ISCLONE() but this looks like it will only work with the copy.

  • I don't think you can, you would have to go back and edit the record after the clone or on the cloned record have a link back to the original. – Dan Wooding Jan 6 '17 at 20:50

If you are willing to write Apex Code then you can write a trigger where on insert you can check if an object is cloned (via the isClone() function on sObject) and then use the getCloneSourceId() function (on sObject) to find the originator and set a checkbox to true on that object.

Reference to the functions: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_sobject.htm?search_text=SObject

  • I don't think this method will help the OP solve the problem they are trying to. – Adrian Larson May 1 '19 at 1:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.