Generate primary key

Hi,

I’ve builded a graph. Please check the screenshot at the attachment.

Do CloverETL have a function that assigns a primary key to each row? I want to assig the primary key after the join presentated.

CloverETL_graph_1.png

Regards,

Daniël

Hi Daniel,

If the records were flowing from a reader component, you could use autofilling functions. However, this is not the case. The other option you have is to create a global variable in the last Reformat before the Trash. You could count your records there and send the current value to the output with every record processed.