Ivan Yurchenko
Ivan Yurchenko

Reputation: 29

Run Azure Logic app only first 5 days per month

as i mentioned in the topic i need to run a trigger only first 5 days of each month. Any ideas how to do it? I tried to check with Recurrence trigger but did not find how to do it. Thanks in advance.

Upvotes: 0

Views: 937

Answers (1)

Jul_DW
Jul_DW

Reputation: 1064

Looking at the Recurrence documentation, it looks like you can specify a monthly recurrence with monthDays using the JSON definition.

Worth trying something like :

"triggers": {
    "Recurrence": {
        "recurrence": {
            "frequency": "Month",
            "interval": 1,
            "schedule": {
                "monthDays": [1, 2, 3, 4, 5]
            }
        },
        "type": "Recurrence"
    }
}

While setting this up, keep in mind the following though :

Set recurrence in advance explanation

Upvotes: 3

Related Questions