You need to sign in to do that
Don't have an account?

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?
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?
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!!
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.
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!!