Hello everyone
How can I restart a row counter in FME at the beginning of each year?
I have a dataset with a year attribute (e.g., 2025, 2026). I want to generate a rowid that starts at 1 for each new year and increments sequentially.
Example:
-
For 2025 →
rowidshould be 1, 2, 3 … -
For 2026 →
rowidshould reset back to 1, 2, 3 …
I then want to concatenate the last two digits of the year with the padded rowid to create a WorkOrderID like:
-
250001, 250002 …
-
260001, 260002 …
Which FME transformers or workflow should I use to reset the counter per year?


