How to create the Assignment Group Member View Lightning Components and an example Flow?



Instructions to create the Assignment Group Member View Lightning Component and an example Flow      

Step 1 – Create the Aura Lightning Component

  1. Go to Developer Console | File | Lightning Component
  2. Name the component: NavigateToAssignmentGroup
  3. Create the COMPONENT as below
<aura:component implements="force:lightningQuickAction,lightning:availableForFlowActions">
<aura:attribute name="recordId" type="String" />
  1. Create the CONTROLLER as below
 ({    invoke : function(component, event, helper) {
var record = component.get("v.recordId");
var baseURL = "/apex/ortoo_qra__AssignmentGroup?id="+ record + "&mo";
var urlEvent = $A.get("e.force:navigateToURL");
"url": baseURL,
"isredirect": "true"
  1. Create the DESIGN as below
<design:attribute name="recordId" label="Record ID" />


Step 2 – Create a Flow that will use the NavigateToAssignmentGroup Lightning component created in Step 1 

  1. Start the Flow by adding “Screen” and named” “Select Assignment Group” – please see the details below:
    • Record Choice Set:
  2. Once added the screen element, add the Assignment logic element – as follow:
    • For that you need to set the “AssignmentGroupID” variable – as follow:
  3. Once done setting up the Assignment Group ID, add the “Action” element – as follow:
  • Set the Input Value as shown in the screenshot below:
  • Search for the lightning component – we have created above “NavigateToAssignmentGroup”
  • Go to Actions

4. Add the final screen to the Flow – as follow. Also, you can add any message to that screen and show any Assignment Group Details e.g. Name, Description, etc


Step 3 –The flow created in Step 2 can be called directly from the Lightning component from the Utility Bar as below. 


Or as a component on the home page as below.


Note: Make sure to add "Run Flows" System Permission and in "Flows" permission allows access to that specific flow.

Please contact us at for any questions.

Was this information helpful?