Relative Content

Tag Archive for jolt

How to check if an item of list exists in another list in jolt

In the given input request, check if the request.PartyAlternateId.item.AltIdType.idTyp is equal to existingMDMResponse.PartyAlternateId.item.AltIdType.idTyp, if so then add existingMDMResponse.PartyAlternateId.item.rowidObject as PartyAlternateId.item.key.rowid to the same item in the output. Repeat this matching to all items in the request.PartyAlternateId.item. And also add the existingMDMResponse.PartyAlternateId.item.rowidObject to the PartyAlternateId.$original.item.rowid in the output. request.id will go as PartyAlternateId.item.key.sourcekey for all the matched items.