Long story short I'm taking an html form and pairing it down to individual components I'm interested in pulling.
My flow was working until yesterday and now one of my compose instructions has changed the output even though the parameters have not changed.
Parameter for my NewLine instruction:
"
"
Previously my raw input and outputs were both: "\n"
But as of today the input and output has been changed to: "\"\n\""
This is causing my input in my next step to change quite a bit:
Original:
Incident potential:: Medium||Brief description: XXXXXXXX|Detailed description: XXXXXXX|Incident type: Unsafe Condition|Incident status: Investigation|Submitted by: XXXXX|Submitted for: XXXXX|Submitter's preferred district: XXXX|District where incident occurred: XXXX|Submitter's supervisor: XXXXX|Customer: XXX XXX XXX XXXXX|Site: XXXXXX|Location: UNITED STATES, IOWA, STEAMBOAT ROCK|Engine type: XXXX X|Application code: XX|Date of incident: 04/30/2024 07:00 AM|Incident time zone: (UTC-06:00) Central Time (US & Canada)|Submission date: (UTC-06:00) 05/09/2024 11:43 AM|Investigation time limit: (UTC-06:00) 05/28/2024 01:25 PM|
Current:
Is there a quick way to remove the extra spaces being added? Or return my formatting to the the previous version using another function? My data is currently formatted as an array.
Hi @Brower
so the issue is resolved ?
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
I needed to remove both, so I just did the following:
Not very elegant, and still confused what changed in the code but this does resolve the issue.
Hello @Nived_Nambiar,
I'm using many a compose expression to get to my desired end result creating a JSON array.
At the end of the day, instead of correcting the flow... I may be better off pursuing cleaning up my JSON array and removing the "\n\n" that is causing me issues originating back to the original compose step where I added in some delimiters for the html string I was processing.
Hi @Brower
I am bit confused on expected output which you require, also please share the expression which you are using to get the above values ?
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492