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
Sylvie Serplet 18Sylvie Serplet 18 

How to locate which process/apex create a record?

Hi all,
I have just started in a new company with an old very customize Salesforce instance. I have just discovered that an object has 25.000 new records created each week.
My question is how can I find which process / workflow / trigger or Apex is created these records? 
Thank you for your help.
Sylvie
 
Best Answer chosen by Sylvie Serplet 18
Alain CabonAlain Cabon
Hello Sylvie,

When you select some custom fields that are updated for this object, you can click on the very new Where is this used? button

Find Where a Field is Used (Beta):

In a sandbox org, you can check the references to a custom field, such as in a formula or Apex class, with a click of the Where is this used? button. You can see where a field is used and where changes to the field appear before you edit it.

https://help.salesforce.com/articleView?id=fields_references.htm&type=5 (https://help.salesforce.com/articleView?id=fields_references.htm&type=5)

 

All Answers

Alain CabonAlain Cabon
Hello Sylvie,

When you select some custom fields that are updated for this object, you can click on the very new Where is this used? button

Find Where a Field is Used (Beta):

In a sandbox org, you can check the references to a custom field, such as in a formula or Apex class, with a click of the Where is this used? button. You can see where a field is used and where changes to the field appear before you edit it.

https://help.salesforce.com/articleView?id=fields_references.htm&type=5 (https://help.salesforce.com/articleView?id=fields_references.htm&type=5)

 
This was selected as the best answer
Sylvie Serplet 18Sylvie Serplet 18
Thank you Alain, 
I forgot about that one!
Alain CabonAlain Cabon
Hello Sylvie,

It is still a beta version with many warnings in the documentation so that will be interesting to have your feedback if that solves completely your problem by finding all the process / workflow / trigger or Apex as you need.

Otherwise, there is a more heavy solution by downloading all the metadata.

Alain