How to add serial numbers in particular column

Surely, you can add an “if” condition to check when your counter is equal to the row count, you can use a “break” activity to break out of the “For Each Row in DataTable” activity.

Thanks,
Nishant