You need to sign in to do that
Don't have an account?
Nicolas Zumino
How do I access the Automated User?
My auto launched Flow won't work because it is sending an email and the From is the Automated User email, which is not valid, I am told.
Where and how can I access this Automated User, and edit the email of this user?
Where and how can I access this Automated User, and edit the email of this user?
Greetings!
Automated User is an internal user which can not be accessed on UI.However,you can create permission set and assign it to the automated user using code as suggested below:
create a Permission Set and assign the autoproc User in Exec-Anonymous:
You should then be able to manage the Permission Set to add any new permissions you need.
Alternatively, use URL hacking:
Using the Developer Console to query for the autoproc Profile ID:
SELECT ProfileId FROM User WHERE Alias = 'autoproc'
Then use a URL hack to access the setup page and enable the relevant Apex Classes:
/_ui/system/user/ProfileApexClassPermissionEdit/e?profile_id={autoproc_profile_id}
Or to Apex Pages
/_ui/system/user/ProfileApexPagePermissionEdit/e?profile_id={autoproc_profile_id}
Or to Field Level Permissions:
/setup/layout/flsedit.jsp?id={autoproc_profile_id}&type={sObjectName}
Please refer the below thread for more information:
https://salesforce.stackexchange.com/questions/210710/automated-process-user-profile-permissions
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
All Answers
Greetings!
Automated User is an internal user which can not be accessed on UI.However,you can create permission set and assign it to the automated user using code as suggested below:
create a Permission Set and assign the autoproc User in Exec-Anonymous:
You should then be able to manage the Permission Set to add any new permissions you need.
Alternatively, use URL hacking:
Using the Developer Console to query for the autoproc Profile ID:
SELECT ProfileId FROM User WHERE Alias = 'autoproc'
Then use a URL hack to access the setup page and enable the relevant Apex Classes:
/_ui/system/user/ProfileApexClassPermissionEdit/e?profile_id={autoproc_profile_id}
Or to Apex Pages
/_ui/system/user/ProfileApexPagePermissionEdit/e?profile_id={autoproc_profile_id}
Or to Field Level Permissions:
/setup/layout/flsedit.jsp?id={autoproc_profile_id}&type={sObjectName}
Please refer the below thread for more information:
https://salesforce.stackexchange.com/questions/210710/automated-process-user-profile-permissions
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Hi Nicolas ,
To access the process automation user , search for Process Automation Settings on Quick Find .
There you can find a lookup to select the Default workflow user.
The default workflow user is required for scheduled paths in record-triggered flows and time-dependent actions in workflow rules. If the user who triggered the automation is no longer active, the default workflow user is associated with the actions that are executed by the automation. The default workflow user always runs schedule-triggered flows.
Additionally , there is also an option to enter the Automated Process User Email Address , which you can input as per your requirement.
I hope this helps!
Please mark this as the best answer if it helps.
Regards,
Arghyadeep
Hi there, you can query the PlatformEventSubscriberConfig object as documented in Tooling API : PlatformEventSubscriberConfig (https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_platformeventsubscriberconfig.htm) and example query is