Skip to main content

Overview

A Condition (Condition__c) is a reusable rule that fusionCore evaluates at sale time to decide whether something applies. You build the logic once, then attach the Condition to a Price Book, a tax product, or a Renewal Path so that fusionCore turns the related pricing, tax, or renewal behavior on or off based on the order and the customer.
These are not Salesforce flow, Process Builder, or report filter conditions. A fusionCore Condition is a custom pricing-and-eligibility record that the commerce engine reads when it prices an order, applies tax, or chooses a renewal path.
What a Condition can express A Condition combines one or more Condition Lines, each a single test. Together they let you say things like:
  • This price book only applies to members in California who already own the Annual Membership.
  • Apply this tax only when the order ships to a taxable state.
  • Send this account down a specific renewal path.

Where Conditions Are Used

Once a Condition exists, you attach it through a Condition lookup field on the consuming record:

Condition Types

When you create a Condition, you choose a record type — Simple or Apex.

Creating a Condition

Create a Condition record and choose whether it is Simple or Apex. Start here.

Simple Conditions

Build no-code logic from Condition Lines for the common eligibility and pricing cases.

Apex Conditions

Delegate complex logic to a custom Apex class for advanced scenarios.