Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Setup Audit Trail Shows “Salesforce, Inc.” in User Column but SetupAuditTrail SOQL Returns Blank CreatedBy

게시 일자: Oct 8, 2026
상세 설명

The View Setup Audit Trail page and the downloaded CSV file show “Salesforce, Inc.” in the User column for an entry, but a SOQL query against SetupAuditTrail returns a blank CreatedBy.Name for the same entry.

This is expected for entries created by system or automated processes rather than a specific user. Examples can include Salesforce releases, enablement of a Salesforce-managed package or feature, and background jobs.

Changes made through Login As access are different: the DelegateUser field contains the username of the person who made the change.

솔루션

1. Query SetupAuditTrail:

   SELECT CreatedDate, CreatedById, CreatedBy.Name, DelegateUser, Action, Section, Display, ResponsibleNamespacePrefix
   FROM SetupAuditTrail
   WHERE CreatedDate = LAST_N_DAYS:30
   ORDER BY CreatedDate DESC

2. Use Display, Section, and Action to identify the change. Display matches the Action column in the UI, and Section matches the Section column.

3. Match the row to the UI or CSV entry by timestamp. SOQL returns CreatedDate in UTC; the UI uses your time zone.

4. If DelegateUser is populated, the change was made through Login As. If it’s blank and the UI shows “Salesforce, Inc.“, the change was system-initiated. If ResponsibleNamespacePrefix is populated, the change came from that managed package.

For audit or compliance reviews, a blank CreatedBy.Name doesn’t by itself mean the entry is missing its originating actor or is incomplete.

추가 자원

Monitor Setup Changes with Setup Audit Trail (Salesforce Help)
https://help.salesforce.com/s/articleView?id=sf.admin_monitorsetup.htm&type=5

SetupAuditTrail (Object Reference for the Salesforce Platform)
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_setupaudittrail.htm

Knowledge 기사 번호

005461289

 
로드 중
Salesforce Help | Article