Skip to content

Enhancement: Track logging user UVID (#969) - #1041

Draft
jcd1991 wants to merge 1 commit into
jongpie:mainfrom
jcd1991:feature/969-track-logging-user-uvid
Draft

jcd1991 wants to merge 1 commit into
jongpie:mainfrom
jcd1991:feature/969-track-logging-user-uvid

Conversation

@jcd1991

@jcd1991 jcd1991 commented Nov 22, 2026

Copy link
Copy Markdown

Summary

  • add LoggedByUvid__c to LogEntryEvent__e and Log__c
  • populate the platform event from UserInfo.getCurrentUvid()
  • propagate the value into Log__c
  • grant read access through LoggerEndUser
  • add focused builder and handler coverage

The value remains null when Salesforce does not provide a UVID. This intentionally does not add the field to LogEntry__c, archives, or UI metadata.

Closes #969

Validation

  • XML metadata validation and git diff --check pass
  • Salesforce dry-run could not authenticate because the locally configured org refresh token is expired

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track the logging user's UVID

1 participant