Hi everyone,
I thought I had, but it seems I don’t.
I’ve been trying to automate emails and payments in the backend workflows, where I have encountered an extremely annoying issue.
In my marketplace, I have 2 user groups; event’s creators and event’s requesters.
Everything seemed to be working smoothly up until I decided to log in as a Creator and opened 2 timeslots (5:00-5:15 pm; 5:15-5:30 pm) for event requesters. From the requester’s account, I booked those 2 timeslots.
Consequently, the event status changed to “approved”, and when I checked the LOGS, I only saw 1 workflow that is scheduled → (charge the requester when the event ends & send survey 4 minutes after the event is completed).
If you look at the scheduler, you can see that the scheduled time for payment and survey are 5:30 pm and 5:34 pm respectively, but again it’s only scheduled for the latest event. Even though the event before this one is also approved, yet ignored in the scheduler.
Most likely the reason why the scheduler takes the latest event is because of my poor - regular workflow setup.
In the workflow, I chose the event “do when the condition is true” and right beneath it, I added 2 actions.
Schedule one API workflow immediately after the event is completed
This is how the backend workflow triggering the payment looks like
and
Schedule another API workflow 4 minutes after the event is completed
This is how the backend workflow triggering the survey-email looks like
So, could somebody explain to me how should I configure everything, so that the scheduler would not only schedule the oldest events but also the events that are approved too, yet are happening earlier?
Thanks a lot in advance!