Skip to content

Change to conditional runAfter statuses post-save does not persist to file #9146

@Reisclef

Description

@Reisclef

Severity

P3 - Medium (Minor functionality affected)

Describe the Bug with repro steps

Expected behaviour:
Changes to conditions should persist to the file

Actual behaviour:
Changes to conditions do not persist

Steps to reproduce:
Click on fail step
Tick has timed out
Tick has failed
Untick success
Click Save

What type of Logic App Is this happening in?

Standard (VSCode)

Are you experiencing a regression?

No response

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",
        "actions": {
            "Response": {
                "type": "Response",
                "kind": "Http",
                "inputs": {
                    "statusCode": 200,
                    "body": {
                        "statusCode": "@outputs('HTTP_call')?['statusCode']"
                    }
                },
                "runAfter": {
                    "PostSuccess": [
                        "SUCCEEDED"
                    ]
                },
                "operationOptions": "Asynchronous"
            },
            "HTTP_call": {
                "type": "Http",
                "inputs": {
                    "uri": "https://google.com",
                    "method": "GET"
                },
                "runAfter": {},
                "runtimeConfiguration": {
                    "contentTransfer": {
                        "transferMode": "Chunked"
                    }
                }
            },
            "PostSuccess": {
                "type": "Compose",
                "inputs": "blah",
                "runAfter": {
                    "HTTP_call": [
                        "SUCCEEDED"
                    ]
                }
            },
            "OnFail": {
                "type": "Compose",
                "inputs": "Fail",
                "runAfter": {
                    "HTTP_call": [
                        "SUCCEEDED"
                    ]
                }
            }
        },
        "outputs": {},
        "triggers": {
            "Http_Trigger": {
                "type": "Request",
                "kind": "Http",
                "inputs": {
                    "method": "POST",
                    "schema": {
                        "type": "object",
                        "properties": {
                            "properties": {
                                "type": "object"
                            }
                        }
                    }
                }
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

Post amend:
Image
Save, close, reopen:

Image

Environment

VSCode
Logic Apps extension 5.230.15

Additional context

It seems that changes to the name, or other details will persist the changes depending on the order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions