I have set a workflow to start automatically when a new item is added to the list (SharePoint 2013).
This workflow calculates an ID ("action" -> "set field in current item", field from source: "ID") so that there is an increasing number/index for each item is added.
This works fine.
However, my purpose is to restart the workflow (starting counting again from ID = 0) when the year changes.
How I could do that?