05-03-2024 01:50 AM - edited 05-03-2024 01:51 AM
I have the data in below format
{
"assetguid" : "12345",
"sfdcid" : "02i79000003OFcKAAW",
"status" : "SUCCESS",
"updatedTime" : "2024-04-04T09:25:43.771Z"
}
I need to convert it to this format with out group by snap. is it possible?
[
{
"sfdcAssetResponseSdo" : [
{
"assetguid" : "F81790C2-B986-F4C9-2806-ADDE3C1E8CB5",
"sfdcid" : "02i79000003OFcKAAW",
"status" : "SUCCESS",
"updatedTime" : "2024-04-04T09:25:43.771Z"
}
],
"pipeline" : "CREATION"
}
]
Solved! Go to Solution.
05-03-2024 03:26 AM - edited 05-03-2024 03:28 AM
Hello @akarsh,
Try with the following mappings in a Mapper Snap:
And let me know if this helps you!
Regards,
Aleksandar.
05-03-2024 03:26 AM - edited 05-03-2024 03:28 AM
Hello @akarsh,
Try with the following mappings in a Mapper Snap:
And let me know if this helps you!
Regards,
Aleksandar.
05-03-2024 03:53 AM - edited 05-03-2024 03:54 AM
Hi @Aleksandar_A it almost there but I need it inside a list. it gives the below output.
{
"sfdcAssetResponseSdo": {
"assetguid": "B69B0A94-FAFA-E8DE-7895-24E07E3BA500",
"status": "FAILURE",
"error": "error"
},
"pipeline": "ERROR"
}
05-03-2024 04:46 AM
Ignore the above message please, I missed the brackets