function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
palerra test 5palerra test 5 

Setup audit trail REST API : CreatedBy (username) field is NULL

For following setup audit trail REST query

SELECT Action,CreatedById,CreatedBy.Username,CreatedDate,DelegateUser,Display,Id,Section FROM SetupAuditTrail

CreatedBy field is received as NULL for the actions performed by installed apps.
We receive CreatedById, however there seems no API  which would help us to map this to 'Automated Process'.

We get Username as "Automated Process" in setup audit trail UI.

Is there any way we can CreatedBy in case of actions performed by installes apps through setup audit trail REST API?