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

SQL Based_SQL Action: Before adding long running scenario query, the workflow is succeeded. #1176

Open
vgouth opened this issue Sep 5, 2024 · 4 comments
Labels

Comments

@vgouth
Copy link

vgouth commented Sep 5, 2024

Describe the Bug with repro steps

1.Create a project and add Stateful workflow in VS code.

2.Convert your workflow in SQL Based.

3.Open Designer and add http trigger and sql_Execute query_EXEC wait2;

4.Save, Debug the workflow and run the workflow.

Expected: The workflow should be failed after 2 minutes.

Actual: The workflow is succeeded after 2 minutes and some runs are in running state(when opened the monitoring view shows failed after 10+ minutes).

What type of Logic App Is this happening in?

Standard (VSCode)

Which operating system are you using?

Windows

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#",
        "actions": {
            "Execute_query": {
                "type": "ServiceProvider",
                "inputs": {
                    "parameters": {
                        "query": "EXEC wait2;"
                    },
                    "serviceProviderConfiguration": {
                        "connectionName": "sql",
                        "operationId": "executeQuery",
                        "serviceProviderId": "/serviceProviders/sql"
                    }
                },
                "runAfter": {}
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http"
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

image

image

Browser

VS Code

Additional context

VS Code extension - 4.71.5

@rllyy97 rllyy97 added the vscode label Sep 5, 2024
@ccastrotrejo ccastrotrejo self-assigned this Sep 5, 2024
@AzureDev0012
Copy link

AzureDev0012 commented Sep 16, 2024

@ccastrotrejo
I am facing the issue in portal, not only in Vs Code.
I have added bug for the same.

##1167

@vgouth
Copy link
Author

vgouth commented Sep 19, 2024

Issue repro in the latest VS code request

VSIX Version: 4.85.2

image

@ccastrotrejo ccastrotrejo removed their assignment Sep 20, 2024
@ccastrotrejo ccastrotrejo transferred this issue from Azure/LogicAppsUX Sep 20, 2024
@vgouth
Copy link
Author

vgouth commented Oct 7, 2024

Issue repro in the latest VS code request. Getting success with error log.

VSIX Version: 4.96.0

image

@vgouth
Copy link
Author

vgouth commented Oct 18, 2024

Issue repro in the latest VS code request. Getting success run.

VSIX Version: 4.107.0

Image

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

4 participants