v4.15.10 - Approval Results Logging #862
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks goes to @PawelWozniak for suggesting this enhancement (issue #844), and to @TrangOul & @jamessimone for working on the changes!
Core Unlocked Package Changes
Added new
setApprovalResult()
methods inLogEntryEventBuilder
for logging instances of the standard Apex classesApproval.LockResult
,Approval.ProcessResult
,Approval.UnlockResult
, as well as lists of each class. Developers can use the new method overloads with something like this:The approval result data is stored in the existing set of
DatabaseResult*
fields onLogEntry__c
likeLogEntry__c.DatabaseResultType__c
, shown below:Installation Info
Core
Unlocked Package - no namespaceFull Changelog: v4.15.9...v4.15.10
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015pGeQAI
This discussion was created from the release Approval Results Logging.
Beta Was this translation helpful? Give feedback.
All reactions