For original equipment manufacturers (OEM), users are usually identified through Partner
User records, where the Account is directly linked to the User profile. For dealerships, users are
usually Standard Users. Since Standard User records don't natively link to a dealership Account,
use the Branch Management data model to identify the dealership that the user represents. Update
the Create Goodwill Repair Claim flow for enabling this.
Required Editions
Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer
Editions.
User Permissions Needed
To modify a flow:
Manage Flows
Update the Flow Element
To identify the user's location, you must first find the link between the Running User and
their assigned Branch.
In Setup, in the Quick Find box, search for Flows, and then click
Flows.
Open the Create Goodwill Repair Claim flow and click
Save As New Flow.
Enter a label and API name.
Save your changes.
Click the plus icon after the Get User Details element, and select Get
Records.
Enter the details as follows.
Field
Value
Label
Get Branch Unit Business Member
API Name
GetBranchUnitBusinessMember
Data Source
Salesforce Object
Object
Branch Unit Business Member
Condition Requirements
All Conditions Are Met (AND)
Under Filter Branch Unit Business Member Records, enter a condition with the following
details.
Field
Value
Field
Branch Unit Business Member ID
Operator
Equals
Value
Running User > Id
Optionally, enter a condition with the following details.
Field
Value
Field
Active
Operator
Equals
Value
True
For How Many Records to Store, select Only the first record.
For How to Store Record Data, select Automatically store all
fields.
Save your changes.
Modify the Account Identification Formula
Use the flow to find the account associated with a branch when you have the Branch Unit
Business Member record.
In the Create Goodwill Repair Claimflow, from the navigation menu, open the Toolbox
panel.
Under Formulas, click claimAccount.
In the Formula field, enter
BLANKVALUE({!Get_Branch_Unit_Business_Member.BranchUnit.Account.Id},
{!GetAccountIdFromAttributes.TextValue})
Click Done.
Save your changes.
Activate your flow.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.