Skip to main content
Level 2
November 13, 2023
Solved

Remove or replace carriage return line feed from failureMSG

Hi,

I am exporting failed deliveries so we can clean our database. When I export the field 'failureMsg' (from targeting dimension) this containes carriage return line feeds that create unwanted new lines in my file. Is there a way to replace them for spaces?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Adobe Champion, Community Advisor, UG Leader
November 15, 2023

@laravl, Try to apply string functions on the extract file activity to address the problem. 

Thanks, Sathees

3 replies

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
SatheeskannaKAdobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
November 15, 2023

@laravl, Try to apply string functions on the extract file activity to address the problem. 

Translate
Thanks, Sathees
Level 2
May 21, 2024

We have had the same expression for this and it seemed to work now it is throwing new lines.

Replace(@failureMsg, "\n", "\s")

Translate
Adobe Employee
June 21, 2024

We are having the same issue. Were you able to figure out how we can avoid the new lines and also eliminate carriage return?

Translate