cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Assign a repeating ID

marenas
New Contributor III

Hi,

I have to incorporate a condition that โ€“ In the output, if โ€˜Nameโ€™ is the same, assign the same โ€˜Id,โ€™ otherwise, increment โ€˜Idโ€™ of the previous record. Can you please suggest how can I achieve this? Thanks in advance.

image

2 ACCEPTED SOLUTIONS

del
Contributor III

For one way to do this with available snaps - please see attached sample pipeline:

Community.17134.slp (5.7 KB)

View solution in original post

marenas
New Contributor III

Group by Fields and Sequence were in my head, but I couldnโ€™t figure out how to transform the result. It makes sense to use the JSON Splitter.

Thank you for giving me the time to take a look at this post and provide a suggestion!

View solution in original post

2 REPLIES 2

del
Contributor III

For one way to do this with available snaps - please see attached sample pipeline:

Community.17134.slp (5.7 KB)

marenas
New Contributor III

Group by Fields and Sequence were in my head, but I couldnโ€™t figure out how to transform the result. It makes sense to use the JSON Splitter.

Thank you for giving me the time to take a look at this post and provide a suggestion!