Loading
시스템 관리자에 대한 피싱 방지 MFA 및 전 직원사용자 MFA 적용 안내 더 많이 읽기
Automate Your Business Processes with Salesforce Flow
Test a Flow for Error Handling

Test a Flow for Error Handling

Configure negative assertions to verify that a flow handles errors gracefully when you use automated testing.

Required Editions

View supported editions.
User Permissions Needed
To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow

Configure negative assertions for Create Records, Update Records, Delete Records, and Action elements in any flow that uses automated testing, including autolaunched, record-triggered, and Data Cloud-triggered flows.

For more information about configuring assertions when you set up a test scenario in test mode, see Set Up and Run a Test Scenario (Beta).

  1. Create a flow test scenario.
  2. When you set assertions, select a resource for Create Records, Update Records, Delete Records, or Action elements.
  3. For Operator, select Has Error.
  4. Select a value, and save the flow test scenario.
The flow test assertion that shows the selected Has Error operator
Example
Example

Consider a flow that processes customer data. You can create a test scenario to make sure that the flow handles invalid input, such as a missing required field.

 
로드 중
Salesforce Help | Article