Azure / Azure/LogicAppsUX

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

Open
#9,146 1 comment 0 reactions 0 assignees View on GitHub
VSCode
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### 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

```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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.