06-14-2023 02:39 PM
Hello,
I have a scenario where the location name will come in 2 different scenarios from an API as mentioned below.
The expected output should be
I tried using the split and replace function but in vain. Appreciate any help provided here
Thanks
Aravind N
Solved! Go to Solution.
06-17-2023 10:57 AM
With this expression, you should be able to make it work.
pipeline:
Test_Expression_2023_06_17 (1).slp (3.5 KB)
Let me know if that helps.
🙂
Cheers,
06-16-2023 02:38 PM
Hi @arvindnsn,
Did you try using the basic concatenation function?
06-16-2023 02:47 PM
I used a simple conditional statement in my mapper like below:
$field002!=""?" ' "+$field002+ " ' ":""
You might have to tweak a bit if you’re expecting multiple values in your second stream.
06-17-2023 10:57 AM
With this expression, you should be able to make it work.
pipeline:
Test_Expression_2023_06_17 (1).slp (3.5 KB)
Let me know if that helps.
🙂
Cheers,
06-17-2023 08:21 PM
This worked perfect. I was trying something with the map function but was missing something. Thanks for the solution.