LogicAppsUX
LogicAppsUX copied to clipboard
It can deploy the illegal code via VSCode without validation error.
Describe the Bug with repro steps
It isn't efficient.
For example, we can deploy the code unexpectedly like below including terminate action within ForEach.
Only after the opening from AzurePortal, we can find the validation error of the code.
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": {
"For_each": {
"type": "Foreach",
"foreach": "@range(0,3)",
"actions": {
"Terminate": {
"type": "Terminate",
"inputs": {
"runStatus": "Failed",
"runError": {
"code": "9",
"message": "error"
}
}
}
},
"runAfter": {}
}
},
"triggers": {
"When_a_HTTP_request_is_received": {
"type": "Request",
"kind": "Http"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {}
},
"kind": "Stateful"
}
Screenshots or Videos
No response
Browser
via VSCode.
Additional context
No response