Assign Permission Set using Record Triggered Flow #inSalesforce

Assign Permission Set using Record Triggered Flow #inSalesforce


Create a record triggered flow - on Create/Update. After

Object:User

IsActive equals True

Only when... selected


GetRecord:

Permission Set

Name equals Sample


Get Record:

Permission Set Assignment

AssigneeId equals Record.UserId

PermissionSetId equals Permission Set from Get..


Decision:

Is already Assigned?

No

PermissionSetAssignment from get.. isnull True

Create:

Create One, Use separate...

Permission Set Assignment

AssigneeId equals Record.UserId

PermissionSetId Permission Set from...Id

Default Outcome: End









Visual: https://www.youtube.com/watch?v=7Wj08pXwedY

Comments