Which doesn’t work and it’s strange: why is cod_tipologia an array instead of a number, as I set?
If I use map the output of the aggregator to the XML, I get this
Every element from the array produced by the aggregator needs to be an element of type “cod_tipologia” under “tipologie”. But obviously, if I map the array to the cod_tipologia element, I get the wrong structure.
Why can’t I map “tipologie”? Because it’s a collection?
And is there another way to map the array elements to cod_tipologia elements?
Should I turn it into JSON and manipulate it as text? This seems overkill.
For technical issues or bugs like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to.
You can open a new ticket here, or if you are unable to login for some reason, you can create another new free account to access the ticketing system (which is only available to logged-in users). After submitting a new ticket, you will receive an automatic confirmation email with the subject “Ticket Created” in the subject. If you do not receive this, try sending the ticket again.
If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.
Hope this helps! Let me know if there are any further questions or issues.
To solve the first problem, I had to use a sequence Iterator-Switch-Array aggregator.
The Switch replaces the strings with the corresponding numbers.
The aggregator aggregates the output from the Switch.
Unfortunately, the aggregator outputs a collection: