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
Peanut JamePeanut Jame 

CASE Debug

Hello Experts,

We have various Process Builder, Workflow rules and Flow. 

We are unable to check how a specific CASE is created and certain fields are updated automitally.

What and which way we can find out how this CASE was generated?

Any help would be great.

Thank you
PriyaPriya (Salesforce Developers) 
Hey Peanut,

You can enable the debug log mode in your org which will tell about all the activity happened in org. Debug log file will be only available for 24 hrs only. 

check this link to setup the debug log :- 
https://help.salesforce.com/s/articleView?id=sf.code_add_users_debug_log.htm&type=5

Kindly mark it as the best answer if it helps.

Thank you
Priya ranjan
Maharajan CMaharajan C
Hi Peanut,

There is lot possibility for generating the case in Salesforce:
 
1. email to case 
2. Apex
3. email service class - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_email_in
4. Process Builder
5. Flow
6. Webservices
7. Manual Creation

Check the case data also like Case Origin, Source... Check the case created by then you can understand who is creating those cases then you catch some input from them... 
 
If those cases are created frequently based on some specific user you can use debug logs...

Thanks,
Maharajan.C