-
Notifications
You must be signed in to change notification settings - Fork 0
Object Exclusions
The analyzer skips certain objects so it doesn't query things that aren't useful for field-usage analysis or that often fail (e.g. Change Data Capture, platform events, history tables). Custom objects (*__c) and managed package objects are not excluded by default so customer data is always in scope unless you add them to config.
- Default exclusions – Applied automatically (see below). No config needed.
-
Config
exclusion_objects– Add object API names here to skip them in your org (e.g. managed package objects that fail or you don't care about).
Objects that are excluded are not described and not queried; they also don't appear in the output CSV/JSON.
These suffix patterns are applied to every object. Custom objects end with __c, so they never match.
| Suffix pattern | Examples |
|---|---|
*ChangeEvent |
Change Data Capture (AccountChangeEvent, etc.) |
*__e |
Platform events |
*History |
Standard history (AccountHistory, ContactHistory, etc.) |
*Share |
Manual share tables (AccountShare, OpportunityShare, etc.) |
*Snapshot |
Reporting/field snapshots (FieldChangeSnapshot, ReportSnapshot, etc.) |
*Feed |
Chatter feed tables (AccountFeed, CaseFeed, etc.) |
*Tag |
Tag tables (AccountTag, etc.) |
*TeamMember |
Team member tables (AccountTeamMember, etc.) |
*Relation |
Relation tables (EventRelation, AcceptedEventRelation, etc.) |
*Definition |
Metadata definitions (FieldDefinition, ColorDefinition, etc.) |
*Metric |
Metric objects (ActivityMetric, etc.) |
*Access |
Access tables (UserRecordAccess, UserEntityAccess, UserFieldAccess) |
*Link |
Link tables (ContentDocumentLink, etc.) |
*Member |
Member tables (AppTabMember, ContentFolderMember, etc.) |
*View |
List/flow views (ListView, FlowVersionView, etc.) |
*Log |
Log objects (ApexLog, etc.) |
*Stream |
Event streams (LogoutEventStream, etc.) |
*Type |
Type metadata (DataType, RecordType) |
*Info |
Info metadata (PicklistValueInfo, OwnerChangeOptionInfo, etc.) |
A large fixed set of standard object API names that don't match the patterns above is also excluded. The list includes hundreds of objects covering:
- Setup & metadata: ApexClass, TabDefinition, LogFile, SetupAuditTrail, CustomPermission, AuthConfig, AuthSession, etc.
- Content & files: CombinedAttachment, ContentFolderItem, ContentDocument, ContentVersion, Document, etc.
- Experience Cloud / Sites: Network, NetworkMemberGroup, Site, SiteRedirectMapping, etc.
- Security & permissions: PermissionSet, PermissionSetAssignment, PermissionSetGroup, PermissionSetLicense, Profile, ObjectPermissions, FieldPermissions, etc.
- OAuth & auth: OauthToken, OauthCustomScope, OauthTokenExchangeHandler, NamedCredential, SamlSsoConfig, etc.
- Process automation: ProcessInstance, ProcessInstanceStep, ProcessException, ProcessExceptionEvent, FlowInterview, etc.
- Service & routing: ServiceChannel, ServiceResource, PendingServiceRouting, OmniSupervisorConfig*, etc.
- User & org: UserRole, UserLogin, UserLicense, UserProvisioningConfig, Organization, etc.
- Other standard: Report, Dashboard, Organization, OpportunityStage, CaseStatus, Topic, Solution, QuickText, and many similar reference/system objects.
Managed package and custom objects (names containing __) are never in this list.
The following standard object API names are excluded. This list is kept in sync with DEFAULT_EXCLUDE_OBJECTS in data_usage_analyzer.py (alphabetical here for reference).
AIApplication
AIApplicationConfig
AIInsightAction
AIInsightFeedback
AIInsightReason
AIInsightValue
AIPredictionEvent
AIRecordInsight
AccountContactRole
AccountPartner
ActionLinkGroupTemplate
ActionLinkTemplate
ActionPlan
ActionPlanItem
ActionPlanItemDependency
ActionPlanTemplate
ActionPlanTemplateItem
ActionPlanTemplateItemValue
ActionPlanTemplateVersion
ActionPlanTmplPkgConfig
ActionPlnTmplItmDependency
ActivityUsrConnectionStatus
AdditionalNumber
AgentWork
AgentWorkSkill
AggregateResult
Announcement
ApexClass
ApexCodeCoverage
ApexCodeCoverageAggregate
ApexComponent
ApexEmailNotification
ApexExecutionOverlayAction
ApexPage
ApexTestQueueItem
ApexTestResult
ApexTestResultLimits
ApexTestRunResult
ApexTestSuite
ApexTrigger
ApexTypeImplementor
ApiEvent
AppAnalyticsQueryRequest
AppDefinition
AppMenuItem
AssignmentRule
AssociatedLocation
AsyncOperationEvent
AsyncOperationStatus
Attachment
Audience
AuraDefinitionBundle
AuthConfig
AuthConfigProviders
AuthProvider
AuthSession
AuthorizationForm
AuthorizationFormConsent
AuthorizationFormDataUse
AuthorizationFormText
BackgroundOperation
BatchApexErrorEvent
BatchDataSource
BatchDataSrcFilterCriteria
BatchJob
BatchJobPart
BatchJobPartFailedRecord
BatchJobStatusChangedEvent
BrandTemplate
BrandingSet
BrandingSetProperty
BriefcaseAssignment
BriefcaseRule
BriefcaseRuleFilter
BroadcastTopic
BroadcastTopicCollabRoom
BroadcastTopicUserRole
BusinessBrand
BusinessHours
BusinessProcess
CallCenter
CallCoachingMediaProvider
CallDisposition
CallDispositionCategory
CaseSolution
CaseStatus
CaseSubjectParticle
CaseTeamRole
CaseTeamTemplate
CaseTeamTemplateRecord
CategoryData
CategoryNode
ChatterActivity
ChatterExtension
ChatterExtensionConfig
ClientBrowser
CollaborationGroup
CollaborationGroupMemberRequest
CollaborationGroupRecord
CollaborationInvitation
CollaborationRoom
CombinedAttachment
CommSubscription
CommSubscriptionConsent
CommSubscriptionTiming
Community
ConferenceNumber
ConnectedApplication
ContactPointAddress
ContactPointConsent
ContactPointEmail
ContactPointPhone
ContactPointTypeConsent
ContactRequest
ContentAsset
ContentBody
ContentDistribution
ContentDocument
ContentDocumentSubscription
ContentFolder
ContentFolderItem
ContentNote
ContentNotification
ContentTagSubscription
ContentUserSubscription
ContentVersion
ContentVersionComment
ContentVersionRating
ContentWorkspace
ContentWorkspaceDoc
ContentWorkspacePermission
ContentWorkspaceSubscription
ContractContactRole
ContractStatus
CorsWhitelistEntry
CronJobDetail
CronTrigger
CspTrustedSite
CustomBrand
CustomBrandAsset
CustomHelpMenuItem
CustomHelpMenuSection
CustomHttpHeader
CustomPermission
CustomPermissionDependency
CustomSetup
Dashboard
DashboardComponent
DataIntegrationRecordPurchasePermission
DataObjectDataChgEvent
DataStatistics
DataUseLegalBasis
DataUsePurpose
DataWeaveResource
DeleteEvent
Document
DocumentAttachmentMap
Domain
DomainSite
DuplicateRecordItem
DuplicateRecordSet
DuplicateRule
EmailBounceEvent
EmailCapture
EmailDomainFilter
EmailDomainKey
EmailMessage
EmailRelay
EmailRoutingAddress
EmailServicesAddress
EmailServicesFunction
EmailStatus
EmailTemplate
EmbeddedServiceDetail
EmbeddedServiceLabel
EngmtChannelTypeSettings
EnhancedLetterhead
EntityParticle
EntitySubscription
ExperienceDiagnosticEvent
FeedAttachment
FeedComment
FeedItem
FeedLike
FeedPollChoice
FeedPollVote
FeedRevision
FeedSignal
FeedTrackedChange
FieldPermissions
FieldSecurityClassification
FileSearchActivity
FiscalYearSettings
FlexQueueItem
FlowExecutionErrorEvent
FlowInterview
FlowInterviewLogEntry
FlowOrchestrationEvent
FlowOrchestrationInstance
FlowOrchestrationStageInstance
FlowOrchestrationStepInstance
FlowOrchestrationWorkItem
FlowRecord
FlowRecordElement
FlowRecordVersion
FlowRecordVersionOccurrence
FlowTestResult
Folder
FolderedContentDocument
ForecastingAdjustment
ForecastingCategoryMapping
ForecastingCustomData
ForecastingDisplayedFamily
ForecastingFact
ForecastingFilter
ForecastingFilterCondition
ForecastingGroup
ForecastingGroupItem
ForecastingItem
ForecastingOwnerAdjustment
ForecastingQuota
ForecastingTypeSource
ForecastingTypeToCategory
ForecastingUserPreference
FormulaFunction
FormulaFunctionCategory
GrantedByLicense
Group
Holiday
IPAddressRange
IframeWhiteListUrl
Image
Individual
InstalledMobileApp
KnowledgeArticle
KnowledgeArticleVersion
KnowledgeArticleViewStat
KnowledgeArticleVoteStat
KnowledgeableUser
LightningExperienceTheme
LightningOnboardingConfig
LinkedArticle
ListEmail
ListEmailIndividualRecipient
ListEmailRecipientSource
ListViewChart
ListViewChartInstance
Location
LocationTrustMeasure
LogFile
LoginEvent
LoginGeo
LoginIp
LookedUpFromActivity
MLEngagementEvent
MLModel
MLModelFactor
MLModelFactorComponent
Macro
MacroInstruction
MacroUsage
MailmergeTemplate
ManagedContent
ManagedContentChannel
ManagedContentSpace
ManagedContentVariant
MatchingInformation
MatchingRule
MatchingRuleItem
MobSecurityCertPinConfig
MobileApplicationDetail
MobileSecurityAssignment
MobileSecurityPolicy
MutingPermissionSet
MyDomainDiscoverableLogin
Name
NamedCredential
NavigationLinkSet
NavigationMenuItem
Network
NetworkActivityAudit
NetworkAffinity
NetworkAuthApiSettings
NetworkDataCategory
NetworkDiscoverableLogin
NetworkEmailTmplAllowlist
NetworkMemberGroup
NetworkModeration
NetworkPageOverride
NetworkSelfRegistration
NetworkUserHistoryRecent
NoteAndAttachment
OauthCustomScope
OauthCustomScopeApp
OauthToken
OauthTokenExchHandlerApp
OauthTokenExchangeHandler
ObjectDataImport
ObjectDataImportReference
ObjectPermissions
ObjectRelatedUrl
OmniRoutingEventStore
OmniSupervisorConfig
OmniSupervisorConfigAction
OmniSupervisorConfigGroup
OmniSupervisorConfigProfile
OmniSupervisorConfigQueue
OmniSupervisorConfigSkill
OmniSupervisorConfigTab
OmniSupervisorConfigUser
OnboardingMetrics
OpenActivity
OperatingHours
OperatingHoursHoliday
OpportunityCompetitor
OpportunityContactRole
OpportunityPartner
OpportunityStage
OrgEmailAddressSecurity
OrgLifecycleNotification
OrgWideEmailAddress
Organization
OwnedContentDocument
PackageLicense
Partner
PartnerRole
PartyConsent
PendingServiceRouting
Period
PermissionSet
PermissionSetAssignment
PermissionSetGroup
PermissionSetGroupComponent
PermissionSetLicense
PermissionSetLicenseAssign
PermissionSetTabSetting
PipelineInspMetricConfig
PipelineInspectionSumField
PlatformAction
PlatformCachePartition
PlatformStatusAlertEvent
PresenceConfigDeclineReason
PresenceDeclineReason
PresenceUserConfig
PresenceUserConfigProfile
PresenceUserConfigUser
ProcessException
ProcessExceptionEvent
ProcessFlowMigration
ProcessInstance
ProcessInstanceNode
ProcessInstanceStep
ProcessInstanceWorkitem
ProcessNode
Profile
ProfileCallLogQuickAction
ProfileSkill
ProfileSkillEndorsement
ProfileSkillUser
Prompt
PromptAction
PromptError
PromptVersion
Publisher
PushTopic
QueueRoutingConfig
QueueSobject
QuickText
QuickTextUsage
QuoteDocument
QuoteTemplateRichTextData
RecentFieldChange
RecentlyViewed
Recommendation
RecommendationResponse
RecordAction
RedirectWhitelistUrl
RelationshipDomain
RelationshipInfo
Report
ReportEvent
ReputationLevel
ReputationPointsRule
SPSamlAttributes
SalesWorkQueueSettings
SalesforceContract
SalesforceInvoice
SalesforceQuote
SamlSsoConfig
Scontrol
SearchActivity
SearchLayout
SearchPromotionRule
SecurityCustomBaseline
Seller
ServiceChannel
ServiceChannelStatus
ServicePresenceStatus
ServiceResource
ServiceResourceSkill
ServiceSetupProvisioning
SessionPermSetActivation
SetupAssistantStep
SetupAuditTrail
SharingRecordCollection
SharingRecordCollectionItem
Site
SiteDetail
SiteIframeWhiteListUrl
SiteRedirectMapping
Skill
SkillRequirement
SlackAppConversationEvent
SocialPersona
SocialPost
Solution
SolutionStatus
Stamp
StampAssignment
StaticResource
TabDefinition
TaskPriority
TaskStatus
TenantUsageEntitlement
TestSuiteMembership
TimeSlot
TodayGoal
Topic
TopicAssignment
Translation
UnifiedActivity
UriEvent
UserAccessChange
UserAccessPolicy
UserAppMenuCustomization
UserAppMenuItem
UserCustomBadge
UserDefinedLabel
UserDefinedLabelAssignment
UserEmailCalendarSync
UserEmailPreferredPerson
UserLicense
UserListViewCriterion
UserLogin
UserPackageLicense
UserPreference
UserPrioritizedRecord
UserProvAccount
UserProvAccountStaging
UserProvMockTarget
UserProvisioningConfig
UserProvisioningRequest
UserRole
UserServicePresence
VideoCall
VideoCallParticipant
VideoCallRecording
VideoVendorAdminConsent
VisualforceAccessMetrics
VoiceCall
VoiceCallRecording
VoiceOrgSetting
Vote
WaveAutoInstallRequest
WaveCompatibilityCheckItem
-
Config – In your config file, set exclusion_objects to an array of object API names:
"exclusion_objects": ["SomeManaged__NamespaceObj__c", "OtherObject"]
-
After a run – If describe or query fails for an object, the tool logs it and appends it to temp/failed_objects.json. You can copy the
failed_objectslist (or part of it) into exclusion_objects so the next run skips those objects.
-
Custom objects – Any object whose API name ends with
__c. -
Managed package objects – Any object with a namespace (e.g.
MyPackage__MyObject__c). Add these to exclusion_objects if you want to skip them.
This keeps the tool focused on standard/system exclusions while leaving all customer and package data in scope unless you opt out.