Record Type Split Strategy
The Record Type Split Strategy enables developers to route trigger logic based on specific record types.
This example demonstrates how to automatically assign Case priority based on Record Type using Breezz Triggers.
Step 1: Create a Trigger for the first Record Type
While you can create a Trigger in several different ways, this example walks through creating one with the Breezz Environment Graph.
ℹ️ For more information about other ways of creating Triggers refer to the Triggers Configuration section.
- Navigate to the Breezz Environment Graph.
- Within the Breezz Environment Graph, select
Triggerand chooseCase.

- Click the Trigger Icon.
ℹ️ Note: For additional information regarding the Breezz Environment Graph, please refer to the Environment Graph section.

- Populate the configuration form with the following details:
- Trigger Event: Select
Before Insertor another event that should fire the trigger. - Records Split Strategy: Select
Record Type. - Record Split - Record Type: Select the Record Types you want the trigger to fire on.
If you haven’t created a Salesforce Trigger yet click the Generate Trigger Code button.
ℹ️ For more information about Generate Trigger Code button refer to the Triggers Configuration section.
- Click Save.
Step 2: Create a Step for the first Record Type
- In the Breezz Environment Graph click the Action Icon o the Step Group.
![]()
- Select Create Step.

- Populate the configuration form with the following details:
- Parent Group: Provide a name for the step.
- Description: Provide a brief description of the step.
- Action Configuration: Select
Modify Context Record. - Record Configuration: Select
Priority,Value,High.
- Leave the rest as it is and click Save.
Step 3: Create a Trigger for the second Record Type
Once the handler for the first record type is configured, you can create one for the second.
- On the Breezz Environment Graph click the Action Icon on the Before Insert Trigger.
![]()
- Select Create Handler.

- Populate the configuration form with the following details:
- Trigger Event: Select
Before Insertor another event that should fire the trigger and provide a unique name. - Records Split Strategy: Select
Record Type. - Record Split - Record Type: Select a different Record Types you want the trigger to fire on.
- Click Save.
Step 4: Create a Step for the second Record Type
- In the Breezz Environment Graph click the Action Icon o the Step Group.
![]()
- Select Create Step.

- Populate the configuration form with the following details:
- Parent Group: Provide a name for the step.
- Description: Provide a brief description of the step.
- Action Configuration: Select
Modify Context Record. - Record Configuration: Select
Priority,Value,High.
- Leave the rest as it is and click Save.
Step 5: Verify the result
Create two Cases using the Record Types you configured triggers for, and verify that their priorities are automatically set to High and Medium.
