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
Admin User 5168Admin User 5168 

SF helpdesk created a process to pre-fill fields on new opportunities. I want to set this up so it does not get triggered when an opportunity is cloned. Please help!

SF helpdesk created a process to pre-fill fields on new opportunities.  I want to set this up so it does not get triggered when an opportunity is cloned.  Please help!
Nick PaivaNick Paiva
Someone correct me if I'm wrong, but Process Builder doesn't currently support the ISCLONE() function.

There is a workaround I can think of until they add this feature.

Create a checkbox called "Original" or something. When an opportunity is created, and that process builder launches to pre-fill a bunch of fields, make sure it also "checks" this box.

Keep this box hidden from profiles (but editable by peeps).

That way, when an opp is being cloned, it'll also clone that checked box. 

For the original process builder, make a criteria that says, "Original = False."

That way, when the opp is being cloned and is new, it will see the box is checked, and ignore pre-filling the fields.