Cancelling a scheduled API event not working?

Hey folks, I’m hoping someone can help me diagnose a problem - I’ve created a bit of functionality for hosting events (like eventbrite) that includes an automatic reminder an hour before the event starts. That all works fine, but I’m having problems with the “Cancel event → delete the scheduled reminder about the event” side of things.

The current setup is:

  1. When you create an event, it schedules the reminder (a backend workflow) and it saves the ID as a property of the event. This definitely works - it saves the property and it matches the workflow in the Scheduler.

image

  1. When you delete an event, it does the below as part of the deletion process.

image

Which doesn’t seem to work - the scheduled workflow still exists in the scheduler.

Any suggestions as to what might be wrong here?

This topic was automatically closed after 70 days. New replies are no longer allowed.