How to Test Salesforce Flow Declaratively

preview_player
Показать описание
How to create & Run Tests for Salesforce Flows Declaratively. Unit test for Flow.
0:00 Introduction
1:00 Agenda
1:25 Business use case
7:35 The Challenge for Flow testing
10:00 Introduction to Flow tests
11:00 What is assertion in flow
12:00 Demo of Flow Tests
23:45 Benefits of Using Flow Tests
24:34 Limitations and Observation on flow tests
Рекомендации по теме
Комментарии
Автор

One of the finest videos. Thank you for sharing!

MaheshMittal-xc
Автор

Excellent, thank you very much for sharing this...

gabrielpaez
Автор

Very very userful, great content, thanks for sharing...

ramachavali
Автор

smoothest video, learned so much. Thank you sir and apex hours to provide this information. keep doing

kushagravishnoee
Автор

recently i migrated all process builder and workflows to flow, and created some flow tests also but i have some queries
1. how to run test all flows( flows of all object) at once
2. how to cover flow test cases where child record updation is happening
3. how much test coverage for flows like for triggers it is 75%
4. we can write test class for flows, and there we can create child record also. so which is better way? flow test or test class?
5. how to add error path in record triggered flows.

sayali
Автор

Awesome, Thanks to Ashish and Apex Hour. Ashish, is there any video for flow debugging. My main fear is when we need to debug in PROD though it's not a good practice but some cases we had to. Please let me know- Thanks.

SahilKhan-mxrp
Автор

But what is it with Flow Test coverage of 75% to deploy flow as active version in Production?

Where does this 75% come from if flow tests are not executed in the runtime of deployment for flows?

Can you please help clear the confused.

SaiKiran-xfhx