Skip to content

Not starting at the requested time #1309

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

Open
michelrj opened this issue Mar 4, 2025 · 1 comment
Open

Not starting at the requested time #1309

michelrj opened this issue Mar 4, 2025 · 1 comment
Labels

Comments

@michelrj
Copy link

michelrj commented Mar 4, 2025

Describe the Bug with repro steps

  1. create a flow and make it start at say 6pm
  2. run the flow
  3. change the time
  4. the flow will still run daily at 6pm

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

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": {
            "Sliding_Window": {
                "recurrence": {
                    "interval": 24,
                    "frequency": "Hour",
                    "timeZone": "Middle East Standard Time",
                    "startTime": "2025-03-04T00:35:00Z"
                },
                "evaluatedRecurrence": {
                    "interval": 24,
                    "frequency": "Hour",
                    "timeZone": "Middle East Standard Time",
                    "startTime": "2025-03-04T00:35:00Z"
                },
                "type": "SlidingWindow",
                "conditions": []
            }
        },
        "actions": {
            "Get_rows_(V2)": {
                "runAfter": {},
                "type": "ApiConnection",
                "inputs": {
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['sql']['connectionId']"
                        }
                    },
                    "method": "get",
                    "path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('sql-zeymo-dev.database.windows.net'))},@{encodeURIComponent(encodeURIComponent('sqldb-config-dev'))}/tables/@{encodeURIComponent(encodeURIComponent('[dbo].[Tenant]'))}/items"
                }
            },
            "For_each": {
                "foreach": "@body('Get_rows_(V2)')?['value']",
                "actions": {
                    "Send_message": {
                        "type": "ApiConnection",
                        "inputs": {
                            "host": {
                                "connection": {
                                    "name": "@parameters('$connections')['servicebus-1']['connectionId']"
                                }
                            },
                            "method": "post",
                            "body": {
                                "ContentData": "@base64(concat('{\"tenantid\": \"',item()?['Id'],'\"}'))",
                                "ContentType": "json"
                            },
                            "path": "/@{encodeURIComponent(encodeURIComponent('debug-rewriteallbookedproducts'))}/messages"
                        }
                    }
                },
                "runAfter": {
                    "Get_rows_(V2)": [
                        "Succeeded"
                    ]
                },
                "type": "Foreach"
            }
        },
        "outputs": {},
        "parameters": {
            "$connections": {
                "type": "Object",
                "defaultValue": {}
            }
        }
    },
    "parameters": {
        "$connections": {
            "type": "Object",
            "value": {
                "sql": {
                    "id": "/subscriptions/53d3be08-a177-457c-a4ff-63ff586b6cea/providers/Microsoft.Web/locations/uaenorth/managedApis/sql",
                    "connectionId": "/subscriptions/53d3be08-a177-457c-a4ff-63ff586b6cea/resourceGroups/mj-poc/providers/Microsoft.Web/connections/sql",
                    "connectionName": "sql"
                },
                "servicebus-1": {
                    "id": "/subscriptions/53d3be08-a177-457c-a4ff-63ff586b6cea/providers/Microsoft.Web/locations/uaenorth/managedApis/servicebus",
                    "connectionId": "/subscriptions/53d3be08-a177-457c-a4ff-63ff586b6cea/resourceGroups/mj-poc/providers/Microsoft.Web/connections/servicebus-1",
                    "connectionName": "servicebus-1"
                }
            }
        }
    }
}

Screenshots or Videos

[https://app.screencast.com/5rG1fNFe0xLqS](time changed 2 days ago)

[https://app.screencast.com/fquCyX02DLRMy](still running at 10 am)

Browser

edge updated

Additional context

No response

@hartra344 hartra344 transferred this issue from Azure/LogicAppsUX Mar 4, 2025
Copy link

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

@github-actions github-actions bot added the stale label Apr 18, 2025
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