Skip to content

A workaround for the BR() line break function in Salesforce Flow Formula

Last updated on April 25, 2024

The BR() function in the formula of Salesforce flow returns <πš‹πš›> for the text output. The workaround is given below.

STEP 1

In the Salesforce flow, create a constant resource with the default value as {!$π™Άπš•πš˜πš‹πšŠπš•π™²πš˜πš—πšœπšπšŠπš—πš.π™΄πš–πš™πšπš’πš‚πšπš›πš’πš—πš}

STEP 2

Then create a text template resource as shown in the attached screenshot.

Now, instead of using the BR() function in your formulas, use the {!πš•πš’πš—πšŽ_πš‹πš›πšŽπšŠπš”} reference.
Example: If your formula previously looked like π™±πš()&”β€‚π™Όπš’β€‚πšƒπšŽπš‘πš”, update it to {!πš•πš’πš—πšŽ_πš‹πš›πšŽπšŠπš”}&” π™Όπš’β€‚πšƒπšŽπš‘πš”. As shown in the following screenshot.