prevent trigger under specific conditions
Status: Closed · Asked by aristosv on · 0 views
I have created 2 workflows.
- Workflow 1: send an SMS reminder 24 hours before a google calendar event
- Workflow 2: send an SMS reminder 1 hour before a google calendar event.
The problem is that if my client schedule's an event for today, the 24 hour workflow is also triggered. This workflow will be impossible to complete because the event has been scheduled today, so an SMS cannot be sent 24 hours before.
How can I prevent the 24 hour workflow trigger in cases like this?
Thanks
I have checked both the workflows and found that you have configured same trigger step in both. Obviously, both the workflows will trigger when an event is created in Google Calendar.
To avoid this situation, you can make use of routers and filter the routes based on 1hour and 24hour before the event start date in just one single workflow. Check how router works here -
youtube.com/watch?v=6XDASZVv3tw
Please try making a new workflow as recommended by me. Incase you stuck at some step, do let me know.
I'm getting this when I try to add a router
If I get to the last step of the workflow to use the router, that means the tasks with cost have already run.
Create a fresh workflow for using routers.
What can I use here, to define 1 hour before the start date of the event?
Watch this video for setting up your workflow with router based conditions: