QuestionQ14

VerifiedPricing

A company wants to make a promotion available only to new customers. A developer builds a context rule to satisfy this requirement.

The developer creates:

  • A picklist named Account Status that contains the values New, Active, and Closed
  • A context dimension named Account Status and links it to the Account Status picklist
  • A context mapping that uses the AnyAccountScope and has a source expression of Status__c
  • A context rule named “New Customer Accounts,” with a rule condition that evaluates the Account Status context dimension using a Hard Fail Fail Level
  • A rule set with Rule Type=Qualification and Action Taken=Qualify, adds the context rule to it, and then adds it to the promotion

The developer verifies that all context-rule components are active and effective. The developer configures an order for a new account in the Cart, but the promotion does not appear in the Qualified promotions list.

What should the developer have done?

Explanation

A qualification rule controls whether a promotion appears before it is added to the Industries Cart, and a simple condition that tests Account Status = New uses Hard Fail. The context dimension must use a no-space identifier such as AccountStatus so the context mapping and rule condition resolve it correctly. Salesforce’s documented qualification-rule setup uses AccountStatus for this dimension and Hard Fail for the New-status condition.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!