Creating a New User Creation Flow

Follow
Please note: This content is intended for Practifi System Administrators and is technical in nature. The steps described in this article may not be able to be completed without System Administrator permissions.

Overview

The flow outlined in this article will allow a Practifi System Administrator to click a New User button and generate a Standard user by entering information about the new user in your Practifi organization. This article outlines the steps to create this flow and the New User button within your organization. These steps are highly technical in nature. If you have any questions or concerns about implementing this flow in your organization, please contact Practifi Support or your firm's CSM for assistance. 

 

Create the New User Creation Flow

Access Flow Builder

To create the New User Creation flow, you will be working in Flow Builder. To access Flow Builder:

  1. Navigate to Salesforce Setup by selecting the cog icon in the upper right-hand corner and then selecting Setup from the drop-down menu.

    Screenshot 2025-04-07 at 2.26.06 PM.png

  2. Use the Quick Find search bar on the left-hand side to search for Flows and select the Flows option under the Process Automation header. 

    Screenshot 2025-04-07 at 2.28.25 PM.png

  3. Select the New Flow button in the upper right-hand corner. A new window will open in your browser. 

    Screenshot 2025-04-08 at 1.42.07 PM.png

Select Flow Type

  1. In the new Flow Builder window in your browser, you will be asked how you would like to start building your flow. The Start From Scratch option is highlighted by default. Leave this option selected and click Next to proceed. 

    Screenshot 2025-04-08 at 1.46.38 PM.png

  2. Select the Screen Flow option, if not already selected by default, and then click Create to proceed with the flow creation process. 

    Screenshot 2025-04-08 at 1.48.42 PM.png

 

Add Get Records Elements

In the New User Creation flow, you will need to add multiple Get Records elements. These elements get information from within your organization to create the user and provide them with the permission sets and packages needed to access your Practifi instance successfully.

Steps for each Get Records element are provided in individual sections below, which are collapsible for ease of viewing. Select each collapsed section to expand it and display the steps. 

Get Division Data

Get Division Data Get Records Element

This Get Records element looks for the Division data within your firm so that it can be assigned to the user later in the flow.

  1. To add an element to your flow, select the + icon below the Start icon.

    Screenshot 2025-04-08 at 1.55.06 PM.png

  2. In the drop-down menu that opens, scroll down to locate the Data header and select the Get Records option. 

    Screenshot 2025-04-08 at 2.33.01 PM.png

  3. Type Get Division Data into the Label field. Then click into the API Name field to have the system auto-generate this information. 

    Screenshot 2025-04-08 at 2.00.30 PM.png

  4. In the Object field, begin typing Division. Locate and select the Division (practifi__Division__c) object from the drop-down menu. 

    Screenshot 2025-04-08 at 2.03.25 PM.png

  5. In the Filter Division Records section, click on Search fields... and type Id and select the Id (Record ID) field from the drop-down menu. 

    pzbfsizj.png

  6. Leave the Operator set to Equals
  7. Click into the Value field and select New Resource.

    wv73wdmm.png

  8. Select Variable as the Resource Type. 

    Screenshot 2025-04-08 at 2.09.16 PM.png

  9. Enter recordId in the API Name field. 
    • Please note: For this resource to function properly, the API Name must be entered exactly as recordId. This field is case-sensitive. 

      sl1fyuwq.png

  10. Select Text from the drop-down menu for the Data Type field. 

    Screenshot 2025-04-08 at 2.22.25 PM.png

  11. Under Availability Outside the Flow, check the Available for input box. 

    Screenshot 2025-04-08 at 2.23.48 PM.png

  12. Select the Done button to finalize the creation of the new resource. Your condition requirements should look like the screenshot below. 

    Screenshot 2025-04-08 at 2.25.26 PM.png

 

Get Practifi Profiles 

Get Practifi Profiles Get Records Element

This Get Records element looks for the Standard User Practifi Profile data so that it can be assigned to the user later in the flow.

  1. Select the + icon below the Get Division Data Get Records element. 

    Screenshot 2025-04-08 at 2.31.18 PM.png

  2. In the drop-down menu that opens, scroll down to locate the Data header and select the Get Records option. 

    Screenshot 2025-04-08 at 2.33.01 PM.png

  3. Type Get Practifi Profiles into the Label field. Then click into the API Name field to have the system auto-generate this information. 

    Screenshot 2025-04-08 at 4.21.47 PM.png

  4. In the Object field, search for and select the Profile object from the drop-down menu. 

    Screenshot 2025-04-08 at 4.21.21 PM.png

  5.  In the Filter Profile Records section, click on Search fields... and type Name and select the Id (Name) field. 

    3z8n3j7e.png

  6. Leave the Operator set to Equals
  7. Type Practifi User - Salesforce Platform in the Value field. Your condition requirements should look like the screenshot below. 

    Screenshot 2025-04-23 at 1.46.30 PM.png

 

Get Practifi Package

Get Practifi Package Get Records Element

This Get Records element will get information about the Practifi Package so that it can be assigned to the user later in the flow. This is essential for them to access your Practifi instance successfully.

  1. Select the + icon below the Get Practifi Profiles Get Records element. 

    Screenshot 2025-04-08 at 4.23.56 PM.png

  2. In the drop-down menu that opens, scroll down to locate the Data header and select the Get Records option. 

    Screenshot 2025-04-08 at 2.33.01 PM.png

  3. Type Get Practifi Package into the Label field. Then click into the API Name field to have the system auto-generate this information. 

    Screenshot 2025-04-08 at 3.04.39 PM.png

  4. In the Object field, search for and select the Package License object from the drop-down menu. 

    Screenshot 2025-04-08 at 3.06.07 PM.png

  5.  In the Filter Profile Records section, click on Search fields... and type NamespacePrefix and select the NamespacePrefix (NamespacePrefix) field. 

    Screenshot 2025-04-08 at 3.09.06 PM.png

  6. Leave the Operator set to Equals
  7. Type practifi in the Value field. This value is case-sensitive. Your condition requirements should look like the screenshot below. 

    Screenshot 2025-04-08 at 3.10.36 PM.png

 

Get Permission Set Groups

Get Permission Set Groups Get Records Element

This Get Records element will get information for the Standard User permission set group in your Practifi organization so that it can be assigned later in the flow.

  1. Select the + icon below the Get Practifi Package Get Records element. 

    Screenshot 2025-04-08 at 4.22.54 PM.png

  2. In the drop-down menu that opens, scroll down to locate the Data header and select the Get Records option. 

    Screenshot 2025-04-08 at 2.33.01 PM.png

  3. Type Get Permission Set Groups into the Label field. Then click into the API Name field to have the system auto-generate this information. 

    Screenshot 2025-04-08 at 3.31.33 PM.png

  4. In the Object field, search for and select the Permission Set Group object from the drop-down menu. 

    Screenshot 2025-04-08 at 3.33.42 PM.png

  5.  In the Filter Profile Records section, click on Search fields... and type DeveloperName and select the DeveloperName (API Name) field. 

    Screenshot 2025-04-08 at 3.35.40 PM.png

  6. Leave the Operator set to Equals
  7. Type Standard_User in the Value field. Your condition requirements should look like the screenshot below. 

    Screenshot 2025-04-23 at 1.48.01 PM.png

 

Add Screen Elements

In the New User Creation flow, you will need to create two Screen elements. These elements display when the new user is being created. First, you will create a User Creation Wizard screen, which will display for your firm's users before they enter information for the new user's profile. Then you will create a User Details screen where the information about the user will be entered to create their profile. 

Steps for each Screen element are provided in individual collapsible sections below for ease of viewing. Select each collapsed section to expand it and display the steps. 

 

User Creation Wizard Screen

User Creation Wizard Screen Element

The next step in the flow is to create a screen for users to see before they enter information for the new user. In the following steps, you'll create a screen that gives users information about what they need to fill in to ensure that the user is created successfully. To create this screen:

  1. Select the + icon below the Get Permission Set Groups Get Records element. 

    Screenshot 2025-04-08 at 4.24.49 PM.png

  2. In the drop-down menu that opens, locate the Interaction header and select the Screen option. 

    Screenshot 2025-04-08 at 3.45.38 PM.png

  3. Use the Search components... search bar on the left-hand side to search for Display Text.

    Screenshot 2025-04-08 at 3.49.41 PM.png

  4. Drag and drop the Display Text component from that menu onto the screen in the center.

    Screenshot 2025-04-08 at 3.51.11 PM.png

  5. Enter an API Name for this Display Text component on the right-hand side. We recommend screenUserWizardIntro as an API name.
    • Please note: API names must be one word with no spaces. A best practice when creating API names is to capitalize the first letter of each word, except for the first word in the API name. 

      Screenshot 2025-04-08 at 3.59.12 PM.png

  6. Enter any information that you would like to use to guide the user about the user creation process in the rich text box below the API Name. For example: 

    Create a New User

    This wizard will guide you through the creation of a new user under the {!Get_Division_Data.Name} division. If this is not their primary division, please exit out and launch the action from the correct division record page. Before proceeding, you should confirm: 

    • The new user's full name
    • The new user's email address (we will use this for their login credentials)
    • Their email matches their login credentials for 3rd Party Integration Platforms
    • The permissions/record access they will need

    Note: If you exit the flow before the final success screen, there may be steps you need to complete in Setup to finalize permission allocation and licensing. 


    Screenshot 2025-04-08 at 4.12.18 PM.png

  7. Click into the gray space of the screen to return to the Screen Properties menu. To remove the Header for this screen, select the Configure Header option on the right-hand side and then uncheck the Show Header box.

    Screenshot 2025-04-08 at 4.10.35 PM.png

  8. Type User Creation Wizard into the Label field. Then click into the API Name field to have the system auto-generate this information. 

    Screenshot 2025-04-08 at 4.14.46 PM.png

  9. Select Done to finalize the creation of this screen. Your flow should look like the screenshot below.

    Screenshot 2025-04-08 at 4.25.53 PM.png

 

User Details Screen

Get User Details Screen Element

The next screen in this flow is where users will fill in the information for the new user. To create this screen: 

  1. Select the + icon below the User Creation Wizard Screen element. 

    Screenshot 2025-04-09 at 9.51.11 AM.png

  2. In the drop-down menu that opens, locate the Interaction header and select the Screen option. 

    Screenshot 2025-04-08 at 3.45.38 PM.png

  3. Use the Search components... search bar on the left-hand side to search for Section. Sections allow you to add additional columns to a screen, so this component is helpful for the organization of data.

    Screenshot 2025-04-09 at 9.54.54 AM.png

  4. Drag and drop the Section component from that menu onto the screen in the center.

    Screenshot 2025-04-09 at 9.56.25 AM.png

  5. Select the + Add Column button under the Configure Columns section on the right-hand side. 

    Screenshot 2025-04-09 at 9.57.40 AM.png

  6. Use the Search components... search bar on the left-hand side to search for Text, and drag and drop this component into both columns. 

    Screenshot 2025-04-09 at 10.36.28 AM.png

  7. Click on the Text component in the left column. Enter First Name in the Label field. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-09 at 10.39.53 AM.png

  8. Check the Require box. 

    Screenshot 2025-04-09 at 10.40.17 AM.png

  9. Click on the Text component in the right column. Enter Last Name in the Label field. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-09 at 10.42.53 AM.png

  10. Check the Require box. 

    Screenshot 2025-04-09 at 10.42.18 AM.png

  11. Use the Search components... search bar on the left-hand side to search for Email, and drag and drop this component below the name columns so that it is in its own section. 

    Screenshot 2025-04-09 at 10.45.24 AM.png

  12. In the Email component settings, enter newUserEmail in the API Name field.

    Screenshot 2025-04-09 at 10.51.10 AM.png

  13. Edit the Required field from {!$GlobalConstant.False} to {!$GlobalConstant.True}. This will set this field to be required.

    Screenshot 2025-04-09 at 10.48.06 AM.png

  14. Use the Search components... search bar on the left-hand side to search for Checkbox, and drag and drop this component below the Email field. 

    Screenshot 2025-04-09 at 10.54.14 AM.png

  15. Enter Alternate Username Required in the Label field for the Checkbox component. Then click into the API Name field so that the system can auto-generate this value. 
    • Please note: Salesforce will automatically use the user's email address as their username. In Salesforce, you must have a unique username across all organizations. This means that if the email being entered for the new user as part of this flow has already been used in a Salesforce organization elsewhere, the flow and creation of the user will fail. This checkbox and the subsequent text field you will build allow for a user to enter an alternative username to be entered as needed for the new user as a way to prevent this failure. 

      Screenshot 2025-04-09 at 11.00.54 AM.png

  16. Use the Search components... search bar on the left-hand side to search for Text, and drag and drop this component below the Alternate Username Required checkbox. 

    Screenshot 2025-04-09 at 12.00.06 PM.png

  17. Enter Alternate Username in the Label field for the Text component. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-09 at 12.09.04 PM.png

  18. Check the Require box. 

    Screenshot 2025-04-09 at 12.10.36 PM.png

  19. Select the Set Component Visibility menu to expand the available options. Here, you can set this field to only display when the Alternative Username Required checkbox is checked. 

    Screenshot 2025-04-09 at 12.12.32 PM.png

  20. Change the When to Display Component drop-down to All Conditions Are Met (AND)

    Screenshot 2025-04-09 at 12.14.46 PM.png

  21. In the Resource field, begin typing Alternate and select the Alternate_Username_Required (Checkbox) option from the results. 

    Screenshot 2025-04-09 at 12.20.53 PM.png

  22. Leave the operator set to Equals
  23. In the Value field, type True and select the $GlobalConstant.True option from the results. 

    Screenshot 2025-04-09 at 12.18.51 PM.png

  24. Select Done to add this condition. 

    Screenshot 2025-04-09 at 12.19.04 PM.png

  25. Use the Search components... search bar on the left-hand side to search for Picklist, and drag and drop this component below the Alternate Username field. 
    • Please note: Two picklist options will display in the component menu. Select the option under the Input header and not the Custom header. 

      Screenshot 2025-04-09 at 12.25.10 PM.png

  26. Enter Time Zone in the Label field for the Picklist component. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-09 at 12.29.40 PM.png

  27. Check the Require box. 

    Screenshot 2025-04-09 at 12.30.22 PM.png

  28. In the Configure Choices section, click on the Choice field and then select New Choice Resource

    Screenshot 2025-04-09 at 12.32.26 PM.png

  29. Select Picklist Choice Set from the Resource Type drop-down menu.

    Screenshot 2025-04-09 at 12.33.22 PM.png

  30. Type pcsTimeZone in the API Name field. 

    Screenshot 2025-04-09 at 12.38.39 PM.png

  31. In the Object field, type User and locate and select the User (User) object from the results. 

    Screenshot 2025-04-09 at 12.44.07 PM.png

  32. Select Picklist from the Data Type drop-down menu.

    Screenshot 2025-04-09 at 12.46.05 PM.png

  33. In the Field field, type Time and select the TimeZoneSidKey (Time Zone) option from the results. 

    Screenshot 2025-04-09 at 12.47.32 PM.png

  34. Select Done to finalize the creation of this Choice resource. This Choice resource will now populate this picklist with all available time zones when creating the new user. 

    Screenshot 2025-04-09 at 12.48.43 PM.png

  35. Click in the gray space on the screen to bring back the Screen Properties menu. In the Label field, enter User Details Screen. Then click into the API Name field to allow the system to auto-generate this value. 

    Screenshot 2025-04-09 at 12.53.32 PM.png

  36. Select Done to finalize the creation of this Screen element. 

    Screenshot 2025-04-09 at 12.55.24 PM.png

 

Assign Values to User Record

Now that you've created two Screen elements for this flow, the next step is to create an Assignment element that takes the information entered into the screen and then adds this information to a container variable that will then create the user. To create this Assignment element: 

  1. Select the + icon below the User Details Screen element.

    Screenshot 2025-04-09 at 1.35.40 PM.png 

  2. In the drop-down menu that opens, locate the Logic header and select the Assignment option. 

    Screenshot 2025-04-09 at 1.37.50 PM.png

  3. Enter Assign Values to User Record in the Label field for the Assignment element. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-09 at 1.40.09 PM.png

  4. Click into the Search variables... search bar for the Variable field and select New Resource.

    Screenshot 2025-04-09 at 1.41.30 PM.png

  5. Select Variable from the Resource Type picklist. 

    Screenshot 2025-04-09 at 1.43.44 PM.png

  6. Enter vUserToCreate in the API Name field. 

    Screenshot 2025-04-09 at 1.46.08 PM.png

  7. Select Record from the Data Type picklist field. 

    Screenshot 2025-04-09 at 1.47.15 PM.png

  8. In the Object field, type User and locate and select the User (User) object from the results. 

    Screenshot 2025-04-09 at 2.07.40 PM.png

  9. Select Done to finalize the creation of this resource. 

    Screenshot 2025-04-09 at 2.08.57 PM.png


You must now set variables and value information within this Assignment element. For ease of viewing, steps for setting each field's variable and value information are provided in individual collapsible sections below. Select each collapsed section to expand it and display the steps. 

First Name Variable Value

First Name Variable Value Steps

  1. Click on vUserToCreate in the Variable field. 

    Screenshot 2025-04-09 at 2.17.23 PM.png

  2. Under the Record Variables header, select vUserToCreate.

    Screenshot 2025-04-09 at 2.19.13 PM.png

  3. Begin typing First and select First Name from the drop-down menu. 

    Screenshot 2025-04-09 at 2.20.34 PM.png

  4. Leave the Operator set to Equals
  5. Click into the Value field and then select the User Details Screen

    Screenshot 2025-04-09 at 2.23.23 PM.png

  6. Select First Name from the Screen Components list.

    Screenshot 2025-04-09 at 2.24.01 PM.png

 

Last Name Variable Value

Last Name Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-09 at 2.28.25 PM.png

  2. Click in the Variable field, select vUserToCreate from the drop-down menu, begin typing Last and select Last Name.

    Screenshot 2025-04-09 at 2.59.37 PM.png

  3. Leave the Operator set to Equals.
  4. In the Value field, select the User Details Screen option and then select Last Name.

    Screenshot 2025-04-09 at 3.02.30 PM.png

 

Email Variable Value

Email Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-09 at 3.03.44 PM.png

  2. Click in the Variable field, select vUserToCreate from the drop-down. Begin typing Email and select Email.
  3. Leave the Operator set to Equals
  4. In the Value field, select the User Details Screen option and then select newUserEmail. Then select Value.

    Screenshot 2025-04-09 at 3.08.04 PM.png

 

Username Variable Value

Username Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-09 at 3.09.33 PM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down. Begin typing Username and select Username.

    Screenshot 2025-04-09 at 3.11.36 PM.png

  3. Leave the Operator set to Equals.
  4. Click on the Value field and then select New Resource

    Screenshot 2025-04-09 at 3.13.22 PM.png

  5. Select Formula as the Resource Type. 

    Screenshot 2025-04-09 at 3.15.24 PM.png

  6. Enter vfUserName in the API Name field. 

    Screenshot 2025-04-09 at 3.17.28 PM.png

  7. Select Text as the Data Type. 

    Screenshot 2025-04-09 at 3.17.58 PM.png

  8. In the Formula box, click on the Insert a function... search bar.

    Screenshot 2025-04-09 at 3.23.35 PM.png

  9. Type IF into this search bar and select the IF option from the results. 

    Screenshot 2025-04-09 at 3.24.51 PM.png

  10. Highlight logical_test and then click the Insert a resource... search bar.
  11. Select User Details Screen and then click Alternate User Name Checkbox.

    Screenshot 2025-04-09 at 3.33.08 PM.png

  12. Type = true to the left of the comma beside {!Alternate_User_Name_Required}.

    Screenshot 2025-04-09 at 3.36.41 PM.png

  13. Highlight value_if_true and then click the Insert a resource... search bar.

    Screenshot 2025-04-09 at 3.39.14 PM.png

  14. Select User Details Screen and then click Alternate User Name.

    Screenshot 2025-04-09 at 3.40.06 PM.png

  15. Highlight value_if_false and then click the Insert a resource... search bar.

    Screenshot 2025-04-09 at 3.42.01 PM.png

  16. Select User Details Screen. Click newUserEmail and select Value.


    Screenshot 2025-04-09 at 3.45.03 PM.png

  17. Click Check Syntax to verify your formula is written correctly, and then select Done. Your formula should look like the screenshot below. 

    Screenshot 2025-04-09 at 3.47.18 PM.png

 

Time Zone Variable Value

Time Zone Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 9.36.11 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down. Begin typing Time Zone and select Time Zone.

    Screenshot 2025-04-10 at 9.41.04 AM.png

  3. Leave the Operator set to Equals.
  4. Click on the Values field. Type User Details Screen and select User Details Screen from the results.

    Screenshot 2025-04-10 at 9.43.06 AM.png

  5. Select Time Zone from the picklist. 

    Screenshot 2025-04-10 at 9.46.45 AM.png

 

Active Checkbox Variable Value

Active Checkbox Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 10.21.04 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down. Begin typing Active and select Active.

    Screenshot 2025-04-10 at 10.22.03 AM.png

  3. Leave the Operator set to Equals.
  4. Click on the Value field, begin typing True and select True

    Screenshot 2025-04-10 at 10.25.39 AM.png

 

Locale Variable Value

Locale Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 10.26.20 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down. Begin typing Locale and select Locale.

    Screenshot 2025-04-10 at 10.28.25 AM.png

  3. Leave the Operator set to Equals.
  4. Click on the Value field, type en_US and select English (United States)
    • Please note: If the user is not located in the United States, another option may be selected from this drop-down. For example, you can type en_AU to select English (Australia) from the picklist. 

      Screenshot 2025-04-10 at 10.32.01 AM.png

 

Alias Variable Value

Alias Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 10.32.49 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down. Begin typing Alias and select Alias.

    Screenshot 2025-04-10 at 10.35.43 AM.png

  3. Leave the Operator set to Equals.
  4. Click on the Values field and then select New Resource

    Screenshot 2025-04-10 at 10.38.07 AM.png

  5. Select Formula as the Resource Type.

    Screenshot 2025-04-10 at 10.39.58 AM.png

  6. Enter vfAlias in the API Name field. 

    Screenshot 2025-04-10 at 10.42.10 AM.png

  7. Select Text as the Data Type.

    Screenshot 2025-04-10 at 10.42.58 AM.png

  8. In the Formula box, copy and paste LEFT({!First_Name},1) + LEFT({!Last_Name},4) into the box. Ensure no extra spaces have been pasted when copying this formula.   

    Screenshot 2025-04-15 at 10.07.38 AM.png

  9. Click Check Syntax to verify your formula is pasted correctly, then select Done. Your formula should look like the screenshot below.

    Screenshot 2025-04-15 at 10.07.46 AM.png

 

Profile ID Variable Value

Profile ID Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 11.18.25 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down menu. Begin typing Profile and select Profile ID.

    Screenshot 2025-04-10 at 11.20.30 AM.png

  3. Leave the Operator set to Equals.
  4. Click into the Value field and type Get and select Profile from Get Practifi Profiles.

    Screenshot 2025-04-10 at 11.23.27 AM.png

  5. Type Profile and select Profile ID from the results. 

    Screenshot 2025-04-10 at 11.24.42 AM.png

 

Email Encoding Variable Value

Email Encoding Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 11.30.45 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down menu. Begin typing Email and select Email Encoding

    Screenshot 2025-04-10 at 11.32.03 AM.png

  3. Click into the Value field and select General US & Western Europe

    Screenshot 2025-04-10 at 11.32.52 AM.png

 

Language Variable Value

Language Variable Value Steps

  1. Select the Add Assignment button. 

    Screenshot 2025-04-10 at 11.40.21 AM.png

  2. Click into the Variable field and select vUserToCreate from the drop-down. Begin typing Language and select Language

    Screenshot 2025-04-10 at 11.41.45 AM.png

  3. Click into the Value field and select English

    Screenshot 2025-04-10 at 11.43.07 AM.png

 

Once completed, the list of variable values should look like the screenshot below. 

Screenshot 2025-04-10 at 11.45.27 AM.png

 

Create Records Elements

Now you'll need to create two Create Records elements to create the actual user from all the information entered and mapped to fields. 

Steps for each Create Records element are provided in individual sections below, which are collapsible for ease of viewing. Select each collapsed section to expand it and display the steps. 

 

Create New User

Create New User Create Records Element

  1. Select the icon below the Assign Values to User Record Assignment element. 

    Screenshot 2025-04-10 at 11.56.23 AM.png

  2. In the drop-down menu that opens, search for and select the Create Records element. 

    Screenshot 2025-04-10 at 11.58.22 AM.png

  3. Enter Create New User in the Label field for the Create Records element. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-10 at 12.00.28 PM.png

  4. Select vUserToCreate in the Record field. 

    Screenshot 2025-04-10 at 12.01.49 PM.png

 

Create Division Member Record

Create Division Member Create Records Element

  1. Select the icon below the Create New User Create Records element. 

    Screenshot 2025-04-10 at 12.08.25 PM.png

  2. In the drop-down menu that opens, search for and select the Create Records element. 

    Screenshot 2025-04-10 at 11.58.22 AM.png

  3. Enter Create Division Member Record in the Label field for the Create Records element. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-10 at 3.02.58 PM.png

  4. Select Manually from the How to set record field values picklist. 

    Screenshot 2025-04-10 at 3.04.32 PM.png

  5. Search for and select Division Member (practifi__Division_Member__c) in the Object field. 

    Screenshot 2025-04-10 at 3.05.49 PM.png

  6. Click the Add Field button in the Set Field Values for the Division Member section. 

    Screenshot 2025-04-10 at 3.07.35 PM.png

  7. Select Team Member in the Field drop-down menu. 

    Screenshot 2025-04-10 at 3.11.08 PM.png

  8. In the Value field, select vUserToCreate under the Record Variables header. 

    Screenshot 2025-04-10 at 3.12.48 PM.png

  9. Then type ID and locate and select User ID.
    • Please note: You will need to scroll to locate this option; it will likely be the last option displayed.

      Screenshot 2025-04-10 at 3.13.29 PM.png

  10. Click the Add Field button.

    Screenshot 2025-04-10 at 3.17.38 PM.png

  11. Select Division in the Field drop-down menu. 

    Screenshot 2025-04-10 at 3.19.29 PM.png

  12. In the Value field, type Get and select Division from Get Division Data.

    Screenshot 2025-04-10 at 3.21.06 PM.png

  13. Type Id and then click away from this field. The system will then locate the Record ID field. 
    • Please note: Id is case-sensitive. Entering ID or id will not locate the Record ID field. 

      Screenshot 2025-04-10 at 3.23.51 PM.png

  14. Click the Add Field button.

    Screenshot 2025-04-10 at 3.25.22 PM.png

  15. Select Primary in the Field drop-down menu. 

    Screenshot 2025-04-10 at 3.26.45 PM.png

  16. In the Value field, type True and select True.

    Screenshot 2025-04-10 at 3.27.40 PM.png

  17. Click the Add Field button.

    Screenshot 2025-04-10 at 3.29.20 PM.png

  18. Select Owner ID in the Field drop-down menu. 

    Screenshot 2025-04-10 at 3.30.14 PM.png

  19. In the Value field, begin typing Running User and select Running User from the results.

    Screenshot 2025-04-10 at 3.32.07 PM.png

  20. Type Id and then click away from this field. The system will then locate the Id field. 
    • Please note: Id is case-sensitive. Entering ID or id will not locate the field. 

      Screenshot 2025-04-10 at 3.32.22 PM.png

 

Add a Success Screen

The next step in this flow is to create a Screen element to notify System Administrators that they have successfully created the user and added them to your Practifi instance. This element also serves a dual purpose, as there is a limitation that some records related to the new user cannot be created at the same time as other objects. This screen allows the separation between these records and allows the system to create the user successfully. 

To create the success Screen element: 

  1. Select the icon below the Create Division Member Record Create Records element. 

    Screenshot 2025-04-14 at 11.36.30 AM.png

  2. In the drop-down menu that opens, locate the Interaction header and select the Screen option. 

    Screenshot 2025-04-08 at 3.45.38 PM.png

  3. Use the Search components... search bar on the left-hand side to search for Display Text.

    Screenshot 2025-04-14 at 11.41.25 AM.png

  4. Drag and drop the Display Text component from the menu onto the screen in the center.

    Screenshot 2025-04-14 at 11.42.03 AM.png

  5. Click on the Insert a resource... search bar and search for and select First Name.

    Screenshot 2025-04-14 at 11.45.19 AM.png

  6. Search for and select Last Name from the same search bar. 

    Screenshot 2025-04-14 at 11.45.29 AM.png

  7. Complete your success message with additional text to suit your firm's needs. For example, {!First_Name}{!Last_Name} has been successfully created as a user.

    Screenshot 2025-04-14 at 11.47.19 AM.png

  8. Enter successMessage in the API Name field. 

    Screenshot 2025-04-14 at 11.48.49 AM.png

  9. Click into the gray space on the screen to bring back the Screen Properties menu. In the Label field, enter Success Screen. Then click into the API Name field to allow the system to auto-generate this value. 

    Screenshot 2025-04-14 at 11.55.08 AM.png

  10. Select Done to finalize the creation of this Screen element.

    Screenshot 2025-04-14 at 11.56.27 AM.png

Create Records Elements

Next, you'll need to create two more Create Records elements to complete the information assignment for the new user. 

The steps for each Create Records element are provided in individual sections below, which are collapsible for ease of viewing. Select each collapsed section to expand it and display the steps. 

 

Create Package

Create Package Create Records Element

  1. Select the icon below the Success Screen element. 

    Screenshot 2025-04-15 at 10.20.57 AM.png

  2. In the drop-down menu that opens, search for and select the Create Records element. 

    Screenshot 2025-04-10 at 11.58.22 AM.png

  3. Enter Create Package in the Label field for the Create Records element. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-15 at 10.22.32 AM.png

  4. Select Manually from the How to set record field values picklist. 

    Screenshot 2025-04-15 at 10.23.11 AM.png

  5. Search for and select User Package License (UserPackageLicense) in the Object field. 

    Screenshot 2025-04-15 at 10.23.57 AM.png

  6. Click the Add Field button in the Set Field Values for the User Package License section. 

    Screenshot 2025-04-15 at 10.26.33 AM.png

  7. Select Assigned User ID in the Field drop-down menu. 

    Screenshot 2025-04-15 at 10.28.11 AM.png

  8. In the Value field, select vUserToCreate under the Record Variables header. 

    Screenshot 2025-04-15 at 10.29.30 AM.png

  9. Type Id and then click away from this field. The system will then locate the User ID field.
    • Please note: Id is case-sensitive. Entering ID or id will not locate the User ID field.

      Screenshot 2025-04-15 at 10.38.04 AM.png 

  10. Click the Add Field button. 

    Screenshot 2025-04-15 at 10.39.25 AM.png

  11. Select Package License ID in the Field drop-down menu.

    Screenshot 2025-04-15 at 10.40.03 AM.png

  12. In the Value field, type Get and select Package License from Get Practifi Package.

    Screenshot 2025-04-16 at 11.16.21 AM.png

  13. Type Id and then click away from this field. The system will then locate the Package License ID field.
    • Please note: Id is case-sensitive. Entering ID or id will not locate the Package License ID field.

      Screenshot 2025-04-16 at 11.16.34 AM.png

 

Create Permission Set

Create Permission Set Create Records Element

  1. Select the icon below the Create Package Create Records element.

    Screenshot 2025-04-16 at 11.27.15 AM.png

  2. In the drop-down menu that opens, search for and select the Create Records element. 

    Screenshot 2025-04-10 at 11.58.22 AM.png

  3. Enter Create Permission Set in the Label field for the Create Records element. Then click into the API Name field so that the system can auto-generate this value. 

    Screenshot 2025-04-16 at 11.29.05 AM.png

  4. Select Manually from the How to set record field values picklist. 

    Screenshot 2025-04-16 at 1.50.28 PM.png

  5. Search for and select Permission Set Assignment (PermissionSetAssignment) in the Object field. 

    Screenshot 2025-04-16 at 2.23.43 PM.png

  6. Select Assigned User ID in the Field drop-down menu. 

    Screenshot 2025-04-16 at 2.27.39 PM.png

  7. In the Value field, select vUserToCreate under the Record Variables header. 

    Screenshot 2025-04-16 at 2.28.46 PM.png

  8. Type Id and then click away from this field. The system will then locate the User ID field.
    • Please note: Id is case-sensitive. Entering ID or id will not locate the User ID field.

      Screenshot 2025-04-16 at 2.30.44 PM.png

  9. Click the Add Field button. 

    Screenshot 2025-04-16 at 2.32.02 PM.png

  10. Select PermissionSetGroup ID in the Field drop-down menu. 

    Screenshot 2025-04-16 at 2.33.52 PM.png

  11. In the Value field, type Get and select Permission Set Group from Get Permission Set Groups.

    Screenshot 2025-04-16 at 2.36.24 PM.png

  12. Type Id and then click away from this field. The system will then locate the PermissionSetGroup ID field.
    • Please note: Id is case-sensitive. Entering ID or id will not locate the PermissionSetGroup ID field.

      Screenshot 2025-04-16 at 2.38.09 PM.png

  13. Your flow should now look like the screenshot below. 

    Screenshot 2025-04-22 at 2.04.07 PM.png

 

Create Fault Screens

You'll need to create two Fault Screen elements in the flow. These elements will alert users if there is an error in the user creation process.

Steps for each Fault Screen element are provided in individual collapsible sections below for ease of viewing. Select each collapsed section to expand it and display the steps. 

New User Fault Screen

New User Fault Screen Element

  1. Select the Create New User Create Records element. This will open a drop-down menu. 

    Screenshot 2025-04-23 at 10.59.29 AM.png

  2. Select Add Fault Path from the drop-down menu.

    Screenshot 2025-04-23 at 11.00.47 AM.png

  3. Select the icon below Fault.

    Screenshot 2025-04-23 at 11.03.27 AM.png

  4. In the drop-down menu that opens, locate the Interaction header and select the Screen option. 

    Screenshot 2025-04-23 at 11.04.29 AM.png

  5. In Screen Properties, enter Error in the Label field. 

    Screenshot 2025-04-23 at 11.15.05 AM.png

  6. Enter errorScreen as the API Name in the API Name field. 

    Screenshot 2025-04-23 at 11.15.19 AM.png

  7. Use the Search components... search bar on the left-hand side to search for Display Text.

    Screenshot 2025-04-23 at 11.19.20 AM.png

  8. Drag and drop the Display Text component from the menu onto the screen in the center.

    Screenshot 2025-04-23 at 11.20.23 AM.png

  9. Enter $flowinterview.error in the rich text editor.

    Screenshot 2025-04-23 at 2.42.31 PM.png

  10. Enter newUserError in the API Name field. 

    Screenshot 2025-04-23 at 2.43.41 PM.png

  11. Select Done to finalize the creation of this Fault Screen element.

    Screenshot 2025-04-23 at 2.44.10 PM.png

  12. Your flow should now look like the screenshot below. 

    Screenshot 2025-04-23 at 12.03.09 PM.png

 

Create Package Fault Screen

Create Package Fault Screen Element

  1. Select the Error Screen element you just created. This will open a drop-down menu. 

    Screenshot 2025-04-23 at 2.46.18 PM.png
  2. Click Copy Element in the drop-down.

    Screenshot 2025-04-23 at 2.47.36 PM.png
  3. Select the Create Package Create Records element. This will open a drop-down menu. 

    Screenshot 2025-04-23 at 11.08.14 AM.png

  4. Select Add Fault Path from the drop-down menu.

    Screenshot 2025-04-23 at 11.00.47 AM.png

  5.  Select the icon below Fault.

    Screenshot 2025-04-23 at 11.11.41 AM.png

  6. Select Paste 1 Element from the drop-down menu.

    Screenshot 2025-04-23 at 2.49.16 PM.png

  7. Your flow should look like the screenshot below.

    Screenshot 2025-04-23 at 2.51.08 PM.png

 

Saving the Flow

Once your elements are entered into the flow, you must save the flow to be able to use it. To save the flow:

  1. Select the Save button in the upper right-hand corner. A pop-up box will display. 
  2. Enter a Flow Label and then click into the Flow API Name field to have the system auto-generate the API name. We recommend New User Creation Flow as a Flow Label.
  3. Click Save
  4. The flow must be activated to be used. Once all elements are entered and the flow is saved, click the Activate button to activate it and make it available for use. 

    Screenshot 2025-04-08 at 4.38.22 PM.png

Create the New User Button

Locate the Flow's API Name

  1. Navigate to Salesforce Setup by selecting the cog icon in the upper right-hand corner and then selecting Setup from the drop-down menu.

    Screenshot 2025-04-07 at 2.26.06 PM.png

  2. Use the Quick Find search bar on the left-hand side to search for Flows and select the Flows option under the Process Automation header. 

    Screenshot 2025-04-07 at 2.28.25 PM.png

  3. In the All Flows table, locate the flow you created above and select the caret in the far right-hand column. Then, select View Details and Versions from the drop-down menu.
  4. Locate the Flow API Name field and copy and paste the API Name for your flow somewhere readily accessible. You will need this information later. 
    • Please note: If you have created the flow above using the recommended name, New_User _Creation_Flow will likely be the API name. Please confirm this information before using this API name in the following steps. 

Create a New Component

  1. Navigate to the Settings app by selecting the App Launcher in the upper left-hand corner and searching for and selecting Settings from the drop-down menu. 

    Screenshot 2025-04-07 at 2.23.25 PM.png

  2. Click the caret and select the Components option from the drop-down menu. 

    Screenshot 2025-04-08 at 9.39.08 AM.png

  3. Click the New button to begin creating a new component in your Practifi instance. 

    Screenshot 2025-04-08 at 9.40.58 AM.png

  4. Select the Action Menu radio button and then click Next to proceed. 

    Screenshot 2025-04-08 at 9.42.48 AM.png

  5. Enter a Component Name and proceed to the following section of this article to enter JSON code for this component. 
    • Please note: We recommend naming the component Practifi - Create User Button, but the component name may be anything that suits your firm.

      Screenshot 2025-04-08 at 9.51.06 AM.png

Add JSON Code

After entering the new component's name, copy and paste the following JSON code into the JSON field: 

{

   "component":{

      "attributes":{

         "version":"1.0",

         "componentType":"actionMenu"

      },

      "properties":{

         "title":"Team Members",

         "visibleButtons":2,

         "actions":[

            {

               "actionType":"new",

               "label":"Add Existing User",

               "params":{

                  "objectName":"practifi__Division_Member__c",

                  "relatedField":"practifi__Division__c"

               }

            },

            {

               "actionType":"flow",

               "label":"Create New User",

               "params":{

                 "flowName":"New_User_Creation_Flow",

                  "hideToast":true,

                  "flowParams":{

                     "recordId":"[RECORDID]"

                  }

               }

            }

         ]

      }

   }

}

 

After pasting, the JSON field should look like the screenshot below. However, the JSON field will remain small even after information is added to it. To facilitate viewing and editing this information in the following step, we recommend expanding the field. To do so, select the lower right-hand corner of the field and drag your cursor to expand it. 

Screenshot 2025-04-08 at 9.54.46 AM.png


Edit JSON Code

Please note: You will only need to complete this section's steps if your firm has chosen to name the flow something other than New User Creation Flow. The above JSON code already includes an API name of New_User_Creation_Flow.

If this API name does not match your firm's flow, the JSON will need to be modified using the following steps. If your firm's flow has New_User_Creation_Flow as the API name, you can proceed to the next section of this article.

  1. With the JSON code, locate the "flowName" line towards the bottom of the code. This code contains a placeholder flow name to account for your firm choosing a custom flow name. In order for this button to work, you must replace this information. 

    Screenshot 2025-04-08 at 10.01.05 AM.png

  2. Delete the placeholder flow name located between the quotation marks, but retain the quotation marks. 

    Screenshot 2025-04-08 at 10.03.25 AM.png

  3. Paste the flow API name that you located earlier in the Locate the Flow's API Name section above between the quotation marks. 
    • Please note: For the component to work, the information pasted into the JSON code must be the flow's API name. This is not the same as the name you've given the flow. 

      Screenshot 2025-04-08 at 10.10.51 AM.png

  4. Select Save to finalize the creation of the component.

    Screenshot 2025-04-08 at 10.11.15 AM.png

Add Component to the Page Layout

  1. Navigate to the Divisions page by using the App Launcher to search for and select Divisions

    Screenshot 2025-04-23 at 2.59.52 PM.png

  2. Select a division's hyperlinked name from the list of divisions to open a Division record.

    Screenshot 2025-04-23 at 3.01.52 PM.png 
  3. Click the cog icon in the upper-right corner and select Edit Page from the drop-down menu. 

    Screenshot 2025-04-23 at 3.05.17 PM.png

  4. Scroll down the page to locate the Team Memberssection and select the Team Members header. 

    Screenshot 2025-04-24 at 10.48.22 AM.png

  5. Click the + Add Filter button under the Set Component Visibility section. 

    Screenshot 2025-04-24 at 10.50.08 AM.png

  6.  For the Filter Type, select Advanced

    Screenshot 2025-04-24 at 10.51.43 AM.png

  7. Click the Select button under Field. 

    Screenshot 2025-04-24 at 10.52.27 AM.png

  8. Click into the search bar and select User from the drop-down menu. 

    Screenshot 2025-04-24 at 10.54.03 AM.png

  9. In the next search bar that displays, begin typing Profile and select Profile from the results. 

    Screenshot 2025-04-24 at 10.55.35 AM.png

  10. In the next search bar that displays, select Name from the drop-down menu. 

    Screenshot 2025-04-24 at 10.56.56 AM.png

  11. Select Done.

    Screenshot 2025-04-24 at 10.58.52 AM.png

  12. Set the Operator to Not Equal from the drop-down menu.

    Screenshot 2025-04-24 at 11.01.31 AM.png

  13. Type System Administrator in the Value field. 

    Screenshot 2025-04-24 at 11.03.17 AM.png

  14. Select Done to finalize adding this condition.

    Screenshot 2025-04-24 at 11.03.23 AM.png

  15. Scroll down the list of Components on the left-hand side to locate the Practifi - Action Menu component. 

    Screenshot 2025-04-24 at 11.06.02 AM.png

  16. Drag and drop this component from the list to under the Team Members header. 

    Screenshot 2025-04-24 at 11.10.15 AM.png

  17. Enter the name of the component you created previously into the Action Menu Name field. 
    • Please note: If you used the recommended value from before, Practifi - Create User Button will be the value needed for this field. If your firm used another name, you will need to verify this by looking at the component where you entered the JSON information.

      Screenshot 2025-04-24 at 11.40.40 AM.png
  18. Click the + Add Filter button under the Set Component Visibility section. 

    Screenshot 2025-04-24 at 11.40.45 AM.png

  19.  For the Filter Type, select Advanced

    Screenshot 2025-04-24 at 10.51.43 AM.png

  20. Click into the search bar and select User from the drop-down menu. 

    Screenshot 2025-04-24 at 10.54.03 AM.png

  21. In the next search bar that displays, begin typing Profile and select Profile from the results. 

    Screenshot 2025-04-24 at 10.55.35 AM.png

  22. In the next search bar that displays, select Name from the drop-down menu. 

    Screenshot 2025-04-24 at 10.56.56 AM.png

  23. Select Done.

    Screenshot 2025-04-24 at 10.58.52 AM.png

  24. Leave the Operator set to Contains

    Screenshot 2025-04-24 at 11.43.31 AM.png

  25. Type System Administrator in the Value field. 

    Screenshot 2025-04-24 at 11.43.42 AM.png

  26. Select Done to finalize adding this condition.

    Screenshot 2025-04-24 at 11.43.48 AM.png

  27. Click the Save button in the top-right corner to finalize your changes.

    Screenshot 2025-04-24 at 11.44.32 AM.png
  28. System Administrators will now be able to click the New User button on the Division page under the Team Member heading in your Practifi organization. 

    Screenshot 2025-04-24 at 11.48.27 AM.png
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.