Stop rescheduling actions after it spills through workflow timeframe

So we have this workflow run at a specific time period of the day let’s say 9am to 12 pm. Any aactions that were not completed by 12PM will be rescheduled to next day 9 AM. How to stop this rescheduling?

We want to drop any enrolled contacts in the queue after 12PM same day. Is this possible?

Hi @AAdmin7,

This is easiest solved with an assisting workflow.

  1. Create a separate workflow that runs outside of working hours
  2. Set a custom property value, e.g. single checkbox property ‘Contact enrolled outside of working hours’
  3. In your original workflow, click into the enrollment criteria, and change the unenrollment settings so that contacts with a value in the property from step 2 are unenrolled

Best regards!

Hi,

But contacts will not enroll if the setting says to run the workflow between 9 am to 12 pm. I have added a delay to create a task after 2 hours from enrollment, so if the delayed queued contacts (after 2 hours) if it’s after 12 PM, then the task will be created the next day mornig at 9 when the workflow starts running again.

My question is how to stop rescheduling this function?

Just need to drop whatever remaining in the queue after 12 PM

@AAdmin7 simply split enrollment in your 9-12 workflow and the task creation into two workflow. I’m not sure what the 9-12 workflow does exactly, but at the end of it, simply send contacts into another workflow with the 2-hour delay and the task creation and without any workflow working hours.