Skip to main content
Rohit . (360 Cloud Solution) 님이 #Flow에 질문했습니다

Need Employee Onboarding Automation  

Scenario: When an Employee record is created: 

• Create a User record  

• Assign Permission Sets  

• Send Welcome Email  

• Create onboarding tasks  

Questions: 

• How would you design the Flow?  

• What actions require After-Save Flow?  

• How would you handle failures?    

 

@Salesforce Flow Automation 

답변 2개
  1. 9월 7일 오후 6:02

    Hi @Rohit .

     

     

    I would use an After-Save Record-Triggered Flow on the Employee object, since the automation needs to create/update related records and perform actions. 

     

    Flow Design: 

     Employee Created → Create User → Assign Permission Set → Create Onboarding Tasks → Send Welcome Email 

     

    Why After-Save? Creating a User, assigning a Permission Set, creating Tasks, and sending notifications are actions that should happen after the Employee record is saved. Salesforce also documents Flow-based automation for assigning permission sets to users.  

     

    Failure Handling: Add Fault Paths to the important Create/Action elements and route errors to an error-handling path (for example, log the error and notify an admin). Also check prerequisites such as duplicate Permission Set Assignment before assigning it.  

     

     Make sure the Flow's execution context and permissions are appropriate for the operations it performs.  

     

    This keeps the onboarding process automated, maintainable, and easy to troubleshoot.  

     

    Hope This Helps!!

0/9000