Share via

Error Failed to Save Logic App

Anonymous
2024-11-26T14:28:49.8633333+00:00

I am getting this error in Power Automate when trying to set a monthly re-occurrence on a specific day in the code view. Failed to save logic app TestingRecurence. The recurrence schedule of trigger 'Recurrence' could not have 'WeekDays' for recurrence frequency 'Month'. Is there a workaround for this?

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,336 Reputation points Microsoft Employee Moderator
    2024-11-26T21:19:25.0633333+00:00

    Hey @Basya Salid

    I don't believe you can comingle weekDays with a different scale; i.e. weekDays can only be configured with a Week frequency. Use monthDays instead. For example, the following will run the last day of the month. You can tweak to meet your scheduled preference. Example recurrences list suggestions on how to configure the trigger.

    "triggers": {
        "Recurrence": {
            "recurrence": {
                "frequency": "Month",
                "interval": 1,
                "schedule": {
                    "monthDays": [-1]
                }
            },
            "type": "Recurrence"
        }
    }
    

    Another option is using a Sliding Window connector instead, see https://learn.microsoft.com/en-us/azure/connectors/connectors-native-sliding-window.

    Was this answer helpful?

    0 comments No comments

Your answer

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