Array Elements to Documents
Pattern to split array elements into n documents.
Create an array profile

where the Array object has the same structure as the single document profile:

For the Map Component use the naming schema: <ArrayProfile>[].ToDocuments()
Use a message shape to test the split:
{
"ArrayObject": [
{
"ServiceRequestID": "3cba04f6-77d9-40b0-b869-e7458e946e89",
"pensionSchemeName": "Scheme AAA1"
},
{
"ServiceRequestID": "3cba04f6-77d9-40b0-b869-e7458e946e89",
"pensionSchemeName": "Scheme BBB"
}
]
}

Last updated