Skip to main content
Nicolas Zumino (Altaniz) 님이 #Salesforce Developer에 질문했습니다
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?
답변 4개
  1. 2021년 1월 14일 오후 5:17
    Hi Nicolas,

    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:

    insert new PermissionSetAssignment( AssigneeId = [SELECT Id FROM User WHERE alias = 'autoproc'].Id, PermissionSetId = '<your Permission Set Id here>' );

    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