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
MateusMateus 

How to populate custom label parameters on a flow?

Hi,
I'm trying to populate custom label parameters in a flow using values from the flow. In this page it tells how to do it form a Apex but not from a flow: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/labels_parameters.htm
The custom label value is:
"Dear {0}, Your {1} has been {2}."
I'm trying something like this in a formula in flow:
{!format({!$Label.OrderStatusPushMessage}, v.{!GetContact.Name}, v.{!$Record.Type__c}, v.{!$Record.Status__c})}
Error: The formula expression is invalid: Syntax error
How can I achieve this?
AnkaiahAnkaiah (Salesforce Developers) 
Hi Mateus,

Refer the below link have solution.
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8pmDSAR

If this information helps, Please mark it as best answer.

Thanks!!
MateusMateus
This is not what I need. I need to replace parameters of a custom label within a flow, as described here in this page but from a flow: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/labels_parameters.htm  (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/labels_parameters.htm )
Siva Krishna KondapalliSiva Krishna Kondapalli
Hi Mateus,

They need to be stored in variables.
 
From the variable, you are then able to specify the record type.
 
https://trailhead.salesforce.com/en/content/learn/modules/flow-builder/flow-builder-create-variable

Thanks alot.
Anand kurubaAnand kuruba
Hi,
please follow up links,
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/labels_parameters.htm
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8pmDSAR
Thanks!!