Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic App Recurrance Triggers on unspecified days #1138

Closed
jaymanjk opened this issue Aug 19, 2024 · 1 comment
Closed

Logic App Recurrance Triggers on unspecified days #1138

jaymanjk opened this issue Aug 19, 2024 · 1 comment
Labels

Comments

@jaymanjk
Copy link

jaymanjk commented Aug 19, 2024

Describe the Bug with repro steps

  1. Create a Recurrence trigger to run an azure funciton on Monday, Tuesday, Wednesday,Thursday,Friday and Sunday wit this configuration below

{

"type": "Recurrence",

"recurrence": {

"frequency": "Week",

"interval": 1,

"schedule": {

"hours": [

"11",

"23"

],

"minutes": [

30

],

"weekDays": [

"Monday",

"Tuesday",

"Wednesday",

"Thursday",

"Friday",

"Sunday"

]

},

"timeZone": "W. Europe Standard Time"

}

}

  1. On checking the Run History you can see that the Logic App has triggerred on Saturday which is not specified in Recurrance Action in step Localized file check-in by OneLocBuild Task: Build definition ID 2: Build ID 14 LogicAppsUX#1.

Saturday Run ScreenShot

Saturday in Run History (16 Aug 24)

Logic App - recurrance Settings

What type of Logic App Is this happening in?

Consumption (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "contentVersion": "1.0.0.0",
    "triggers": {
      "Recurrence": {
        "type": "Recurrence",
        "recurrence": {
          "frequency": "Week",
          "interval": 1,
          "schedule": {
            "hours": [
              "11",
              "23"
            ],
            "minutes": [
              30
            ],
            "weekDays": [
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday",
              "Sunday"
            ]
          },
          "timeZone": "W. Europe Standard Time"
        }
      }
    },
    "actions": {
      "Function-Catch": {
        "type": "Scope",
        "actions": {
          "Terminate": {
            "type": "Terminate",
            "inputs": {
              "runStatus": "Failed",
              "runError": {
                "code": "@{outputs('Scheduled')['statusCode']}",
                "message": "@{body('Scheduled')}"
              }
            }
          }
        },
        "runAfter": {
          "Function-Try": [
            "Failed",
            "Skipped",
            "TimedOut"
          ]
        }
      },
      "Function-Success": {
        "type": "Scope",
        "actions": {},
        "runAfter": {
          "Function-Try": [
            "Succeeded"
          ]
        }
      },
      "Function-Try": {
        "type": "Scope",
        "actions": {
          "Scheduled": {
            "type": "Function",
            "inputs": {
              "body": {
                "Action": "start",
                "EnableClassic": true,
                "RequestScopes": {
                  "ExcludedVMLists": [],
                  "VMLists": [
                    "/subscriptions/3a336de3-b446-4eac-b9b5-f09cf7725eee/resourceGroups/Axbus-VM-Dev/providers/Microsoft.Compute/virtualMachines/IowSyncVmPoc"
                  ]
                }
              },
              "function": {
                "id": "/subscriptions/3a336de3-b446-4eac-b9b5-f09cf7725eee/resourceGroups/AxBus-Common-AzureAutomationRG-DEV/providers/Microsoft.Web/sites/AxBusCommonAzureAutomationfunccd573qbks7ey2/functions/Scheduled"
              }
            }
          }
        },
        "runAfter": {}
      }
    },
    "parameters": {
      "$connections": {
        "type": "Object",
        "defaultValue": {}
      }
    }
  },
  "parameters": {
    "$connections": {
      "value": {}
    }
  }
}

Screenshots or Videos

Logic App - recurrance Settings

Saturday in Run History (16 Aug 24)

Saturday Run ScreenShot

Browser

Chrome

Additional context

No response

@hartra344 hartra344 transferred this issue from Azure/LogicAppsUX Aug 19, 2024
Copy link

github-actions bot commented Oct 3, 2024

This issue is stale because it has been open for 45 days with no activity.

@github-actions github-actions bot added the stale label Oct 3, 2024
@jaymanjk jaymanjk closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant