Forum Discussion

vgautam64's avatar
vgautam64
New Contributor III
2 years ago

Append duplicate values with numbers in sequence

I have a JSON that has Associate IDs and Attachment IDs. I want to sequence the duplicate attachment IDs for each associate starting with the second duplicate ID, something like '-1', '-2',...
Please refer to the sample INPUT and OUTPUT JSONS attached and please let me know how can I achieve this output.