Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.AudienceCriterionInput

Personalization audience criterion.
Property Type Description Required or Optional Available Version
criterion List<ConnectApi.​AudienceCriterion​ValueInput> List of mappings of audience criteria fields and values. Required when creating an audience

Optional when updating an audience

48.0
criterionNumber Integer Number associated with the audience criterion in a formula. For example, (1 AND 2) OR 3. If unspecified, criteria are assigned numbers in the order that they’re added. Optional 48.0
criterionOperator ConnectApi.​AudienceCriteria​Operator Operator used in the personalization audience criterion. Values are:
  • Contains
  • Equal
  • GreaterThan
  • GreaterThanOrEqual
  • Includes
  • LessThan
  • LessThanOrEqual
  • NotEqual
  • NotIncludes
  • StartsWith
Required when creating an audience

Optional when updating an audience

48.0
criterionType ConnectApi.​AudienceCriteria​Type Type of personalization audience criterion. Values are:
  • Audience—Criterion based on audience.
  • Default—Audience has no criteria.
  • Domain—Criterion based on domain.
  • FieldBased—Criterion based on object fields.
  • GeoLocation—Criterion based on location.
  • Permission—Criterion based on standard or custom permissions.
  • Profile—Criterion based on profile.
Required when creating an audience

Optional when updating an audience

48.0