function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anas AlamourAnas Alamour 

set picklist field in flow

i have requirement to create new lead based on creating a new record of custom object. i am using process builder and Auto launched flow to implement this requirement. in my flow i am using get records element to look up the custom record, get its fields values, and store them in a record variable. I am using create records element to create the new lead and set the lead fields from the record variable values. All the specified lead fields are filled up with values except picklist field, its value is null. is there any limitation in salesforce to set picklist field from record variable  in flow? If yes, what is the solution for my case?
 
PriyaPriya (Salesforce Developers) 
Hi Anas,

1. while creating the record map the value before create element if the value is null then allocates its value through a formula field based on the condition or directly assign the value. 
 

Please mark it as the Best Answer so that it can help others in the future.

Regards,

Priya Ranjan