Alert rules trigger warning messages when there’s a possible issue with the configuration. Sales reps can ignore the warning or return to configuration to fix what they forgot

Example:

In this example it will give alert when only one door sensor is selected

Product Rule Name: Door Sensor Warning

Active: Checked

Type: Alert

Conditions Met: All

Scope: Product

Evaluation Event: Save           

Message: This bundle only has one door sensor. Most customers need additional sensors for the entire door.

Error Condition:

1. Rule: Door Sensor Warning

Tested Object: Product Option

Tested Field: SBQQ__ProductCode__c

Operator: equals

Filter Type: Value

Filter Value: DOORSENSOR

2. Rule: Door Sensor Warning

Tested Object: Product Option

Tested Field: SBQQ__Quantity__c          

Operator: equals

Filter Type: Value

Filter Value: 1

Configuration Rules:

Active: Checked

Product: Home Console

Product Rule: Door Sensor Warning

The output of the product rule:

Create an Alert Product Rule Unit | Salesforce Trailhead. https://trailhead.salesforce.com/en/content/learn/projects/create-a-home-security-bundle-with-product-rules/create-an-alert-product-rule