I’m trying to make an event scheduling / calendar app and want to make multiple instances of an event if the user checks the “Repeat weekly” checkbox and inputs a number for how many times to repeat. The issue I’m having is trying to make a loop to create all the instances. I’ve tried to use two custom events in the workflow but that just produces an error saying that custom workflows cannot call themselves, directly or indirectly. I’ve seen other posts about using API workflows but I’m not used to using them and I can’t find a way to sent the information from the event creation (image 1) to the API as a workflow thing (Image 2) which will trigger the custom event (Image 3) and then go back and forth between the API and custom event, sending the new data from the custom event and creating instances of the event until the ‘Repeat amt’ = 0.
[Image 1] - Regular workflow
[Image 2] - Backend workflow
[Image 3] - Backend workflow
If anyone knows how to do this or knows a better method I appreciate any suggestions. Feel free to ask questions if clarification is needed.