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
Air FoxxAir Foxx 

Visual Flow record creation displaying ID instead of value

Hi All,
Since I'm now exploring Flows this may be a very simple question. I'm trying to transfer a value from one text field on custom object1 to the Name field on another custom object2.  I created a Record Lookup to get the value of the object1 field, assigning it to an SObject variable, then a Record Create to assign the SObject variable to the name field on object2. However, the name field on object2 gets populated with the 18-digit ID instead of the value.  How can I get value instead of the ID.
Thanks.
debradebra
Is the destiination Name field configured as an auto-number type - this would explain the behavior.
However if the Name field is configured as Text type your Flow should work as expected.
Air FoxxAir Foxx
Thanks for the input Debra! It wasn't an auto-number field, but I got it to work after changing the variable type from SObject Variable to Variable.