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
Salesforce AdminSalesforce Admin 

Check for Exisitng Case with Apex trigger

Hi Guys,

please can someone point me in the direction of how to check if an existing case with a particular Subject exists, if it does- do not create a new one. I am using this for the start of an existing process builder workflow where - the trigger is constantly checking if a case with the subject already exists, if it does, skip creating else create a new case.

Any help would be much appreciated. :)

Thanks