Create Record Choice Set (Quick Create Case Scenario) in Flows #inSalesforce

Create Record Choice Set (Quick Create Case Scenario) in Flows #inSalesforce


Create a screen flow


Create a new resource, picklist choice set resource type, Status, object - Case, datatype - picklist, Field - Status


Create a new resource, record choice set resource type, AccountName, Object - Account, filter- Active__c equals true, Configure Each Choice - Choice Label - Name, text datatype, choice-value - Id


Add screen element-


Quick Case Creation


text - drag-drop - Name it 'Subject'


picklist - drag-drop - Name it 'Status', datatype - Text, Choice - Status (resource) (This is to fetch the values and display them here)


picklist - drag-drop - Name it Account, datatype - Text, Choice - Account(record choice set) (resource) (This is to fetch the values and display them here)




Add Create Record


Create Case


One record, Use separate..., Object - Case, Map the screen values to Case fields like


Subject equals Subject from Screen

Status equals Status from Screen

AccountId equals Account from Screen



Connect them all and Save


Debug to test it











Comments