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
Roshan singh 21Roshan singh 21 

How to write test class for process builder

Hi All,

How to write a test class for process builder. If I have created approval Process for Case, based on some condition.
how to write a test class for this approval process.

Thanks in Advance 
 
Ajay K DubediAjay K Dubedi
Hi Roshan,
In Salesforce, there is no need to write a test class for process builder. You can check the functionality of your process builder manually.
And if you want to write a test class for process builder then please follow this link:
https://www.desynit.com/good-systems-blog/salesforce/writing-apex-tests-for-salesforce-flows-and-process-builders/
By this, you can check the functionality of your process builder.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks,
Ajay Dubedi