1

Within journey builder I create task activities and push this to Sales Cloud. The text we enter in the 'description' (long text field) ends up in one line in Sales Cloud, which makes it unclear.

Our default way of enter a description is: Contact - Name: {{Event."APIEvent-xxx"."FirstName"}} {{Event."APIEvent-xxx"."LastName"}}. From url: {{Event."APIEvent-xxx"."FormUrl"}}.

Tried this Pass line break to Long Text Field from Journey Builder. Adjusted the description into: Contact - Name: {{Event."APIEvent-xxx"."FirstName"}} {{Event."APIEvent-xxx"."LastName"}}. "\r\n" From url: {{Event."APIEvent-xxx"."FormUrl"}}.

This did not work. Am I using this line break in the wrong way? Or do I suppose to use this elsewhere?

4
  • I think you've lost your line breaks in rendering your question. Are you saying you've changed it to Contact - Name: {{Event."APIEvent-xxx"."FirstName"}} {{Event."APIEvent-xxx"."LastName"}}.\r\nFrom url: {{Event."APIEvent-xxx"."FormUrl"}} Commented Jan 12, 2021 at 6:10
  • @JarrettBush I see, adjusted my question! Well, I used "\r\n" where I want to have an enter.
    – Viviana
    Commented Jan 13, 2021 at 9:19
  • i think a solution can be found here: salesforce.stackexchange.com/questions/307048/… - try char(10) Commented Jan 19, 2021 at 12:22
  • @JonasLamberty this is done by AMP script, but you can't use AMP script within a text field description (in task in journey). Already raised a new idea clicktime.symantec.com/…
    – Viviana
    Commented Jan 20, 2021 at 13:30

1 Answer 1

0

No sure if this works for your context. Here is what I tried and worked. Build a query to concatenate the fields with char(13) where you want to have a line break and store it in a description field in your DE then assign it to the task description in journey builder. e.g

SELECT 
CONCAT('Contact - Name: ',FirstName,' ',LastName,char(13),'From URL',Fromurl) ...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .