Skip to main content
Good afternoon!!

 

 I am faced with a particular scenario. Typically we are interested in removing duplicates while processing data, but in this case I need to add duplicate data to run a process. So i have a routing that determined how many rows I need to repeat and belive Python can do this-- the problem is that I dont know python-- and am looking for an alternative work flow.

 

 

 This is what I got:

 

For example, I  for AA I need to add 5 rows, and for BB I need to add 3.. my result should look like:

 

AA

 

AA

 

AA

 

AA

 

AA

 

BB

 

BB

 

BB

 

 

Any suggestions, comments are greatly appreciated.

 

Gerardo
Hi Gerardo,

 

 

The Cloner transformer might help you. You can pass the determined number to the "Number of Copies" parameter through an attribute.

 

 

Takashi
Thanks Takashi.. worked like a champ!

 

 I must have been low on coffee as I thought I had checked that transformer..

 

 Have a great day!

Reply