Hi Jack,
The flow would something similar to the screenshot below.
addDays($Date,1)
I did not include the list in my screenshot, but you can create a list, or insert a list as input in the microflow, and add the objects you created to the list.
More or less what was mentioned above (without recursion, it’s easier to read this way I guess):
The example is crude (no validation, no sanitation of any time components to your from/to, etc) but this is the general idea.
You can use a recursive microflow call where one input will be start date ,other end date, and a list variable to store date objects. In microflow add create object , to store new date as startdate + adddays(1) and add to list and if current date equals end date then come to exit path or call same mf again recursively this will have new start date as input. (in Mendix 9 latest they have added while loop support which can also be used but its still in beta mode)
I am not quite sure what you mean. Would it be possible to provide some more clarity on the recursive microflow?
Thanks guys. All answers truly appreciated.