Automation Champion

Automating Salesforce One Click at a Time
Automation Champion
  • Home
  • About Me
    • Testimonials
    • Resources
  • Process Builder
  • Salesforce Flow
  • Pardot
  • Apex
  • Training Details
    • Salesforce Administrator
    • Salesforce Advanced Administrator
    • Platform App Builder
    • Lightning Flow
    • Pardot
    • Sales Cloud
    • Service Cloud
    • Community Cloud
    • Hands-on Excercises
  • My Books
  • Contact Me
  • Tag: Auto add Permission Sets in Salesforce

    • Getting Started with Salesforce Flow – Part 24 (Automatically Assign Permission Sets to New User)

      Posted at 11:14 AM by Rakesh Gupta, on November 26, 2020

      To understand how to solve the same business use case using Process Builder and Salesforce Flow. Check out this article Getting Started with Process Builder – Part 78 (Auto Enable Lightning Experience for New Users).

      Big Idea or Enduring Question:

      • How can you use Flow to automatically assign permission sets to new users?

      Objectives:

      After reading this blog post, the reader will be able to:

      • Use After-save Record-Triggered Flow to assign permission sets to new users
      • Best practice to refer Permission Set into Record-Triggered Flow
      • Use a Decision element to find – record variable or record collection variable contains a record or not
      • Use After-save Record-Triggered Flow to create a record

      Business Use case

      Brenda David is a System Administrator at Universal Containers (UC). She has received a requirement to auto-assign Two Factor Authentication permission set to the new users.

      Automation Champion Approach (I-do):

      Salesforce allows you to add Permission Sets to the User to extend the user’s functional access without changing their profile. For example, you can grant Modify All access to the Account object to a set of users without changing their profile or creating a new profile.

      This is a basic use case to start with the lightning flow. To solve the above requirement, we will use the After-save Record-Triggered Flow.

      Before proceeding, you have to understand the PermissionSetAssignment objects in Salesforce.

      • PermissionSetAssignment:- This object represents an association between a User and a PermissionSet.
      Field Name Details
      AssigneeId ID of the user to assign the permission set.
      PermissionSetId ID of the PermissionSet to assign to the user.

      Before discussing the solution, let me show you a diagram of a Process Flow at a high level. Please spend a few minutes to go through the following Flow diagram and understand it. Let’s begin building this automation process. Read the rest of this entry!

      Posted in Salesforce Flow, User Management | 45 Comments | Tagged Add permission set, Add permission sets, add Permission Sets to new User, Add permission sets to user, Add permission sets to user in Salesforce, ADM 201, adm 201 certification, adm 201 salesforce, Advance flow, Assign permission set lightning flow, Auto add Permission Set, Auto add Permission Sets, Auto add Permission Sets in Salesforce, Auto add Permission Sets in Salesforce to user, Auto add Permission Sets to new User, Auto add Permission Sets to new Users, Auto assign permission set, Auto assign permission set to new user, Auto assign permission sets, Auto assign permission sets to new user, Automatically add Permission Sets to new User, Create a Salesforce Record from a Flow, Create record through flow, Factor Authentication, flow builder in salesforce, flow builders, Flow examples, FlowBuilder, Lightning Flow, Lightning Flow example, lightning flows in salesforce, New Flow Trigger, Permission Set Assignment, permission sets, Permission Sets in Salesforce, PermissionSetAssignment, PermissionSetId, sales force automation software, salesforce, salesforce automation, salesforce automation tools, Salesforce CRM, Salesforce Flow, Salesforce Flow Example, salesforce flows, salesforce lightning flow, salesforce lightning flow examples, salesforce sales cloud, salesforce trailheads, SFDC, Two Factor Authentication
    • Search

    • Upcoming Trainings

      Salesforce Administrator Certification
      Salesforce Advanced Administrator Certification
      Salesforce Platform App Builder Certification
      Lightning Flow & Process Builder
      Advanced Lightning Flow
      Pardot Specialist & Consultant Certification
      Sales Cloud Consultant Certification
      Service Cloud Consultant Certification
      Community Cloud Consultant Certification
    • Sponsor #1

    • Sponsor #2

    • Sponsor #3

    • Sponsor #4

    • Order Now!

    • Buy My Book

    • Buy My Book

    • Recent Posts

      • Getting Started with Salesforce Flow – Part 59 (Clone a Chatter Group with Members)
      • New Research: Salesforce Delivery Teams Excel in Speed but at the Expense of Quality
      • Improve Your Data Collection Strategy with Web Forms
      • Getting Started with Salesforce Flow – Part 58 (Customize Previous, Next, Finish, and Pause Button Label for Screen Flow!)
      • Advancing Business Operations with Salesforce and QuickBooks
    • Salesforce ID Converter Build on Lightning Flow

      Converting 15 digit ID to 18 digit Salesforce ID
    • Blog Archives

    • Categories

  • Information

    • About Me
    • Affiliate Disclaimer
    • Contact Me
    • Privacy Policy
  • Top Posts

    • Learning Flow
    • Learning Process Builder
    • Getting Started with Salesforce Flow – Part 43 (Dynamic Approval Routing in Salesforce)
    • Getting Started with Salesforce Flow – Part 57 (Adding Validation to Flow Screen Components)
    • Getting Started with Salesforce Flow – Part 59 (Clone a Chatter Group with Members)
    • Getting Started with Salesforce Flow – Part 11 (Count Number of records in a Record Collection Variable)
    • Getting Started with Salesforce Flow – Part 24 (Automatically Assign Permission Sets to New User)
    • Getting Started with Salesforce Flow – Part 1 (Understand, Create & Use Variables in Flow!)
    • Salesforce Spring’21 Release Quick Summary
    • Getting Started with Process Builder - Part 1 (Automatically Create a record)
  • Social Media

    • View Automationchampion’s profile on Facebook
    • View Automationchamp’s profile on Twitter
    • View Rakeshistom’s profile on GitHub