manohar
3 years agoContributor
Combine multiple arrays
hi there,
I have following json
[
{
"docname": [
"Coupa_Supplier_SB_Tax_Cert_PO_4501923290",
"Coupa_Supplier_SB_Tax_Cert_PO_450192323"
],
"id": 16758,
"docext": [
...
- 3 years ago
Hi @manohar,
You can try by using Mapper Snap with the following expression for the attachments:
sl.range(0,$docname.length).map((x,ind) => {"docname":$docname[ind],"id":$id,"docext":$docext[ind],"docid":$docid[ind]})
Try with this, and let me know if this helps you.
BR,
Aleksandar.