I've been asked to write test classes for the Flows we are developing (more as a quality control tool than anything else).
Most of them are pretty straightforward to test, but those who create Tasks after a certain amount of days...no idea!.
Is there a way we could test these kind of Flows in an Apex class?
Many thanks!
3 answers
Hi Sergio,
No you can't to test using the Apex for the Scheduled Flows, but you can test the scenarios in your lower environments (developer sandbox/sandbox) to create a some test data and see your scheduled flow working perfectly and meet the criteria or not