How to schedule an azure datafactory pipeline to run on every 'n'th business day of a month

Prasenjit Patnaik 50 Reputation points
2023-06-19T03:42:26.5833333+00:00

Hi,

I need an urgent help. I need to schedule an Azure data factory pipeline that runs every 10th business day of the month(Saturday & Sunday are not business day). for example, if we exclude Sat & Sun, then 10th Business day for Jun2023 falls on 14th June. The next 10th business day falls on 28th and so on. So the ADF pipeline should run on those dates. Can someone help me please.

Thanks,

Prasenjit

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

Accepted answer
  1. QuantumCache 20,366 Reputation points Moderator
    2023-06-20T16:57:24.9466667+00:00

    Hello @Prasenjit Patnaik,, Did you try other trigger types such as Logic Apps? or any other triggers which give full flexibility on custom scheduling window?

    I too see that there is no direct out of the box solution for such scenario, but we have many workarounds for this scenario!

    One of the workarounds might be:

    User's image

    You can schedule an Azure Data Factory pipeline to run on the 10th business day of the month using a combination of the Schedule trigger and an Azure Function that calculates the date of the 10th business day! Your Pipeline's Copy Activity can be controlled in this way!!!


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.