How to add and populate Assignment Group Name fields on a record using Flow
Showing Assignment Group name on a record
Are you looking for a way to add and populate Assignment Group Name fields on a record i.e. Case? We've got you covered! Read on to learn how to set up this automation quickly and easily.
Create Fields
Create a new Field in the Case Object as follows (you can choose your own Object e.g. Lead instead of Case):
- Field Name: Assigned From Group Name
- Field Data Type: Text
- Field Length: 255
Salesforce Flow
To get started with setting up the Salesforce Flow needed, follow the instructions below:
-
Click on the gear icon
on the top-right of your screen and select Setup
-
Locate the quick find on the left side of your screen and type in Flows and Click on the first returned result under Process Automation.
-
-
Locate and click on the New Flow button on the right of your screen
-
Choose the Record-Triggered Flow type from the available options and click on the Create button. This will automatically load the Configure Start pop-up.
-
In the Object lookup, select Case
-
Under the Configure Trigger section, for Trigger the Flow when: select A record is created or updated
-
Under the Set Entry Condition section, for the Condition Requirements drop-down, select All Conditions Are Met (AND) and set the following conditions:
-
Click in the Field lookup and select the Assigned From Group field from Case object
-
For Operator, select Is Null from the options
-
Click in the Value option search for False and select {!$GlobalConstant.False}
-
Click on the + Add Condition button
-
Click in the Field lookup and select the Assigned From Group field from Case object
-
For the Operator, select Is Changed from the options
-
Click in the Value option search for True and select {!$GlobalConstant.True}
-
-
-
For the Optimize the Flow for: options, select Fast Field Updates
-
Click on Done
-
-
Click on the plus sign after the Start element
-
-
Choose the Get Record element to use
-
When the New Get Records pop-up loads, enter the Label as Get Assignment Group Details
-
From the Object lookup, select QA Assignment Group
-
Under Filter QA Assignment Group Records section, for the Condition Requirements drop-down, select All Conditions Are Met (AND) and set the following conditions:
-
Click in the Field lookup and select the Id (Record Id) field from QA Assignment Group object
-
For Operator, select Equals from the options
-
Click in the Value option search for record and select $Record > Assigned From Group {!$Record.ortoo_qra__Assigned_From_Group__c}
-
Keep the rest of the settings as is and click on Done
-
-
-
Next up, choose Update Triggering Record element to use
-
When the New Update Records pop-up loads, enter the Label as Update Add Assignment Group Name to Case
-
Scroll down to the Set Fields Values for the Case Record section
-
For Field choose the Assigned From Group Name field from the Case object
-
Click inside the Value field and choose Get Records ( Get Assignment Group Details) > and then choose the Name
-
Click on Done button
-
-
-
Save and Activate the Flow
The Flow is now ready and will populate the Assigned From Group Name field on Cases.
Please contact us at support@ortooapps.com for any questions.