I have created in my app Custom Events following this example
I would like to allow my users to create repeating events. Repeats: daily, weekly, monthly.
For each of these frequencies I created 2 Custom Events that should be firing each other after 0.01 seconds (each 10 ms). From what I read the workflow for Custom Event is supposed to run parallel to other workflows.
I have the following workflow:
Step 20: Create A new Thing
Step 21: Add new Thing to list
Step 22: Trigger Custom Event called GenerateNextDailyParty
Custom Event called GenerateNextDailyParty only when the user selected daily in the frequency dropdown, has selected parties and has selected that party should be repeating.
Next it jumps into the Custom Events:
These Two Custom Event workflows should be firing each other until the end date is < the date user gave in the interface. (You could use start date as well here).
These custom events do no fire fast enough and get stuck at some point when the relevant inputs are reset.
The screenshot below shows Custom Event being fired but there is no value from the inputs because they have been reset.
So on one hand they are not blocking the current workflow from continuing, but on the other hand they need the data from that current workflow. There should be an option to block the current workflow from continuing until the scheduled Custom Events are finished.
So If I understand correctly, to make this thing work, I would need to remove the reset input field and allow the custom events fire after the pop-up I have has been closed?
Why does it take so long for the Custom event to complete. If I set the delay to 0.001 seconds, it doesn’t change the speed of event creation in the DB.