Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

Salesforce Loyalty Management: EXTERNAL_OBJECT_EXCEPTION on LoyaltyPgmMbrPromEligView Backup Requires Loyalty Program Member ID Filter

公開日: Sep 15, 2026
説明

Backup of LoyaltyPgmMbrPromEligView fails when a tool issues an unfiltered Bulk API query to capture every record. Salesforce returns the EXTERNAL_OBJECT_EXCEPTION above.

Object design (official):

  • LoyaltyPgmMbrPromEligView is a virtual object that provides a consolidated view of a member’s promotion eligibility and enrollment status in eligible promotions (API version 56.0 and later).
  • It is not a persistent data table.
  • It is not available in Object Manager and cannot be customized.
  • Key relationship field: LoyaltyProgramMemberId (Lookup to LoyaltyProgramMember).

Because eligibility is evaluated for a specific member at query time, queries without a Loyalty Program Member ID filter are rejected. That blocks any full-table export or backup pass.

Applicability: Salesforce Loyalty Management orgs where third-party or native backup tools attempt an unfiltered query of LoyaltyPgmMbrPromEligView.

解決策

Cause

LoyaltyPgmMbrPromEligView is a filter-required virtual object. Unfiltered Bulk API / SOQL queries (including backup “all rows” jobs) are not supported and return EXTERNAL_OBJECT_EXCEPTION.

1. Exclude the view from the unfiltered backup job

In the backup tool (for example, Rubrik), exclude LoyaltyPgmMbrPromEligView from the full-table / “all rows” backup job so the tool stops issuing the unsupported query.

2. Back up the underlying stored objects instead

Promotion eligibility is derived from stored Loyalty Management data. Include these queryable objects in the standard backup job, for example:

  • LoyaltyProgramMember
  • LoyaltyProgram
  • Promotion
  • LoyaltyProgramMbrPromotion (member promotion enrollment / progress)

These objects persist data and support normal full-table backup queries.

3. Query the view only with a member ID filter

When eligibility data must be retrieved from the view for a given member, filter on LoyaltyProgramMemberId:

SELECT Id, LoyaltyProgramMemberId, PromotionId, MemberEligibilityCategory,
       IsPromotionEnrollmentRqr, IsMbrEligBsdCmpnOrSgmt
FROM LoyaltyPgmMbrPromEligView
WHERE LoyaltyProgramMemberId = '<Loyalty Program Member Id>'

Loyalty Program Member Ids typically begin with 0lM. Queries scoped to a single member ID succeed; the same query without the filter reproduces the EXTERNAL_OBJECT_EXCEPTION.

Verification

  1. Re-run the backup job with LoyaltyPgmMbrPromEligView excluded — confirm it completes without EXTERNAL_OBJECT_EXCEPTION.
  2. Run a SOQL query against LoyaltyPgmMbrPromEligView filtered by one LoyaltyProgramMemberId — confirm eligibility rows return.
  3. Run the same query without the member ID filter — confirm EXTERNAL_OBJECT_EXCEPTION is returned.

ナレッジ記事番号

005459302

 
読み込み中
Salesforce Help | Article