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
Jan Kopejtko 2Jan Kopejtko 2 

Populate text field with ID from a lookup a field

Guys, is there a way in Salesforce how to populate a TEXT field with an ID that is in a lookup field?

I am creating a record in Flow and the ID just wont get passed to the field. The field remains null.
Christan G 4Christan G 4
Hi Jan, I hope you are well. Did you mean to ask if it is possible to populate an ID from a look up field to a text field? If so, yes it should be possible. Rather than using a flow, I think the best way to fulfill this requirement would be to use a formula field assuming that you are trying to retrieve the ID from a parent record. 

Did this text field always exist or was it just created for this purpose?
Renee JRenee J
Hello, was this question ever solved? May someone please share the formula they used to generate text from a contacts 15 digit long ID #?

Thanks so much for the consideration! 

All the very best,