Do you have any suggestions to run 2 schedule workflows in a row?
I have multi-date selector, start time, end time, and duration inputs, with that I would like to create multiple things. I have created one date-range (Start-end time) for each day selected by the user using a schedule API worfklow.
Now I would like to save that range but in multiple slots based on the duration.
So for instance if start time is 1pm, end time 4pm, duration 1 hour, for 3 different days, I’d like to create 1pm-2pm, 2pm-3pm, 3pm-4pm for all the different days.
I think the key here is to create a list with all the start times: so following the same example of above, I would want to have a list with:
Dic 23, 2019 1:00 pm, Dic 23, 2019 2:00 pm, Dic 23, 2019 3:00 pm
Dic 24, 2019 1:00 pm, Dic 24, 2019 2:00 pm, Dic 24, 2019 3:00 pm
Dic 25, 2019 1:00 pm, Dic 25, 2019 2:00 pm, Dic 25, 2019 3:00 pm
So then I can run the API workflow that I already have.
To make that list, I would do a For hahah but seems like is not possible, so I though of doing another API workflow:
The problem is that I would have to create steps equal to the number of slots that the user wants to create (that depends on the start, end time and duration), so for the same example I would need 3 steps, but if the duration is 30 minutes, I would need 6.
Is there any other way to do such thing?