Timeline for Automated Process User in Salesforce
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 14, 2022 at 15:18 | comment | added | Guy Clairbois | @AlexEdelstein that's awesome! I'll go through it and let you know if I have any comments or things to add. | |
Aug 12, 2022 at 18:46 | comment | added | Alex Edelstein | I put together a new summary of all the vetted information I could unearth about Automated Process User and Default Workflow User (unofficialsf.com/…) | |
Aug 1, 2022 at 21:18 | comment | added | Guy Clairbois | Thanks for your follow-up Alex. I actually see a User named 'Automated Process' in my field history doing updates (in July 2022) that are triggered by a workflow rule. And those records are created by a Scheduled Flow (which has API version 49) and Automated Process user is also marked as the record creator. So I'm not sure what to believe now.. | |
Jul 26, 2022 at 14:29 | comment | added | Guy Clairbois | From my own experience I can definitely confirm that apex triggers and workflow rules run if you use Scheduled Flow to create new records. The child records created by the apex trigger have the 'Automated Process' user as their CreatedBy user. The record history shows 'Automated Process' as the User that did the field changes which are done as part of workflow rule field updates. | |
Jul 26, 2022 at 12:23 | comment | added | Darkdog | Thank you Claribois. The reason i am asking this question is because i saw the comment on this idea that automated process user does not invoke triggers or WFR or Validation rules. Hence, trying to confirm.. ideas.salesforce.com/s/idea/a0B8W00000GdZq1UAF/… | |
Jul 26, 2022 at 12:20 | comment | added | Guy Clairbois | I would expect so, indeed. I've seen validation rules run on this process. | |
Jul 26, 2022 at 12:09 | comment | added | Darkdog | Does that means that all the triggers WFR, Validation rules will get fired if the run method of the sandboxPostCOpy interface is responsible of masking data on couple of objects ? | |
Jul 26, 2022 at 11:01 | history | answered | Guy Clairbois | CC BY-SA 4.0 |