You are viewing limited content. For full access, please sign in.

Question

Question

Workflow Schedule Starting Rule - Exclude Holiday

asked on May 4, 2015

When setting the starting rule type as a schedule for a workflow, is there way to exclude holidays as defined in the Workflow Administration Console?

 

Thanks in advance.

0 0

Replies

replied on May 5, 2015

This post https://answers.laserfiche.com/questions/49889/How-can-you-Exclude-Weekends-and-Holidays-from-Date-Token-Calculator has some ideas about how to identify holidays inside the workflow. In your case, you would probably want to put a condition and the start of your workflow, and if you correctly identify the day as a holiday, you can use an End Workflow activity to stop the workflow. Alternatively if you'd like to postpone it you could use a Delay (and a Date Token Calculator).

4 0
replied on May 5, 2015

Unfortunately not. The scheduler is based on Windows Task Scheduler, so there is no way to add exception days.

1 0
replied on May 5, 2015

Thanks for your reply.

 

So is there any other way to stop the Workflow from running if that day happens to land on a public holiday?

0 0
replied on May 6, 2015

Based on this thread I modified an earlier custom workflow activity to determine if a date value provided is a holiday or a workday based on the Workflow Server Holiday and Weekday settings.  The activity will allow you to create multiple date tokens and evaluate whether or not the dates provided are holidays or workdays.  Here is a screenshot of a bare-bones workflow;

A shot of the token editor screen;

The activity can expose two tokens for each date value (depending on which options are checked) that you can use in conditional workflow logic;

The custom workflow activity has been tested on Workflow 9.1 and 9.2.  The activity is a free download on the products page at www.qfiche.com.   The download is a fully functional 30-day demo.  Once the activity has been installed and evaluated you can register to receive a free license key to unlock the activity for full production use.  Any questions can be directed to cprimmer@qfiche.com

 

 

0 0
replied on May 23, 2018

You can also create stored procedures in SQL to populate the holiday dates into a database and workflow to trigger updates.

 

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.