It should be 1 year always I believe, but I need to design it to be dynamic and accept anything I think. It’s a tricky one! The idea is to enrich some data load files which need to load records into a database and ensure a specific date range is covered.
For example. I would be supplied a raw file with date range “01/01/2015 - 01/01/2018” and it would need to look at the above selection of dates and identify that there was a period of time (eg. in 2016) without coverage, and use that date range for the new record to be loaded.
I have used a Sample Excel and Sample Raw File, and I have Skipped 2016 and 2019.
The Workflow does Output Both the years inside a For Each Loop. Don’t exactly know if this is the requirement you need but it might give you an Idea.