Hello!
I set a data action that returns a list of objects, which one of the objects will return a proper "lineOfBusinessName".
I'm don't know the number of objects for every input, so I decided to concat the list of lineOfBusinessName in a string on the translationMap, but since I can't use the join function, I used concat that returns all together, without a separator. How can I solve this using any separator like a comma or a pipe between each item on the string lineOfBusinessNames?
Here's the configuration:
{
"translationMap": {
"lineOfBusinessNames": "concat($[*].lineOfBusinessName)",
"errorMessage": "$.errors[0].Message"
},
"translationMapDefaults": {
"errorMessage": ""
},
"successTemplate": "{ \"lineOfBusinessNames\": ${lineOfBusinessNames}, \"errorMessage\": \"${errorMessage}\" }"
}
#API/Integrations------------------------------
Samara Silva
------------------------------