Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Scheduling a workflow on Server but skipping Holidays

JasonJaworski
6 - Meteoroid

Is there a way to schedule a workflow on server to run Monday through Friday but to not run on Holidays? Thanks!

5 REPLIES 5
caltang
17 - Castor
17 - Castor

Now that's an interesting question! Would be good to have it as an Idea post as well. The Server could have a date selector of Holidays declared by end users, then we can skip them in scheduling. 

 

Keen to know - following this thread!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Peachyco
11 - Bolide

I have something similar but only on regular holidays like January 1st and December 25th.

 

I put the holidays in the workflow itself, and the workflow does nothing if the current date matches any of those holidays. Essentially, the workflow is scheduled to run on weekdays, but if it falls on a holiday, the workflow still runs but it does absolutely nothing.

 

If you have a small dataset/database that is updated with specific holidays, then you can expand on this idea by querying that dataset instead of hard-coding the holidays in the workflow. 😉

JasonJaworski
6 - Meteoroid

Could you provide an example of where you put this logic in the workflow? 

JasonJaworski
6 - Meteoroid

@Peachyco thanks for the reply. Are you able to share your workflow so I can see how you implemented this. I like the outside of the box thinking!

E_Baron
5 - Atom

I would like to see how this is implemented within the flow as well