AutomationOrchestrator icon indicating copy to clipboard operation
AutomationOrchestrator copied to clipboard

National Holidays

Open Ghitafjorback opened this issue 6 years ago • 1 comments

Hi, so I know that it is possible inside your botflow to make lists, and actions that will check if today’s date is a national Holiday and if so, close the Bot, and so on, bu I was thinking if it would maybe be possible already from the Orchestrator. Was thinking something like: When choosing whether or not the Botflow should run on weekdays and weekend days, maybe there could be a number of checkboxes for National Holidays... run on National Holidays: “DK, SE, DE, US...” all should be checked from start, but you could then un-check the one you need your Botflow NOT to run on. I know that there should be contact with calendars of each country, and I do not know if there is any “smart” way to script that, but if so, this would be very cool. Thanks Ghita

Ghitafjorback avatar Apr 09 '20 06:04 Ghitafjorback

Hi @Ghitafjorback,

Good idea, I have set this to be an enhancement request to be implemented. This would be possible with the holidays package: https://github.com/dr-prodigy/python-holidays

mbalslow avatar Apr 10 '20 18:04 mbalslow