Arghya Ganguly
Arghya Ganguly

Reputation: 59

Logic App starting with a recurrence trigger not getting triggered without the "Run Trigger" action manually

Recurrence TriggerLogic App FlowI have a Logic App where the flow gets triggered by a recurrence trigger which is scheduled to run at 3am on Thursday. The action is to read an email with a specific Subject line and save its attachment to an Azure blob. The recurrence trigger works when triggered manually but doesn't run otherwise. This is part of an automation pipeline and I created this workflow so that the files which gets stored in Azure blob can be used in an Analytics workflow. Do I need to create an Event Grid trigger to again trigger the recurrence trigger in Logic Apps? Where exactly am I doing wrong?

Upvotes: 0

Views: 2731

Answers (2)

Dimm G
Dimm G

Reputation: 1

It's because you've added Z. "Z" refers to the equivalent nautical time. If you select a time zone value, you don't need to add a "Z" to the end of your Start time value. If you do, Logic Apps ignores the time zone value because the "Z" signifies a UTC time format.

Upvotes: 0

SwethaKandikonda
SwethaKandikonda

Reputation: 8234

I see that you haven't set the Recurrence trigger with appropriate settings. Make sure you set the properties as below to make the flow trigger on every Thursday at 3am.

enter image description here

Below is the codeview of my Logic App

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {},
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "parameters": {},
        "triggers": {
            "Recurrence": {
                "recurrence": {
                    "frequency": "Week",
                    "interval": 1,
                    "schedule": {
                        "hours": [
                            "3"
                        ],
                        "minutes": [
                            0
                        ],
                        "weekDays": [
                            "Thursday"
                        ]
                    }
                },
                "type": "recurrence"
            }
        }
    },
    "parameters": {}
}

Upvotes: 2

Related Questions