Picklist Choice Sets in Flow (Quick Case Creation Scenario) #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, picklist choice set resource type, Origin, object - Case, datatype - picklist, Field - Origin
Add screen element-
Quick Case Creation
text - drag-drop - Subject
picklist - drag-drop - Status, datatype - Text, Choice - Status (resource) (This is to fetch the values and display them here)
picklist - drag-drop - Origin, datatype - Text, Choice - Origin (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
Origin equals Origin from Screen
Connect them all and Save
Debug to test it
Comments
Post a Comment