New (Generally Available) Designer removes multi-type HTTP trigger inputs when calling nested Logic Apps
- Dominant language
- TypeScript
- Stars
- 111
- Forks
- 109
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 20
Description
### Describe the Bug with repro steps
1. Create a logic app named 'la-inner' that has an input with multiple types. For example, parameter p2 accepts both string and boolean:
```json
{
"properties": {
"p1": {
"type": "string"
},
"p2": {
"type": [
"boolean",
"string"
]
}
},
"required": [
"p1",
"p2"
],
"type": "object"
}
```
2. Create another logic app 'la-outer', adding an action to call 'la-inner'. Note the designer requires a value for p1, but not for p2 despite both inputs being required.
3. In Code view, manually add a value for p2 and save, then switch to Designer view. The added value for p2 is removed by the designer. If the Logic App is now edited and saved in designer view, the Logic App is saved without a value for p2. Note in the Legacy Designer, the value for p2 is visible as expected.
### What type of Logic App Is this happening in?
Consumption (Portal)
### 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
```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Response": {
"inputs": {
"body": "@body('la-inner')",
"statusCode": 200
},
"kind": "Http",
"runAfter": {
"la-inner": [
"Succeeded"
]
},
"type": "Response"
},
"la-inner": {
"inputs": {
"body": {
"p1": "Value for p1",
"p2": "Value for p2"
},
"host": {
"triggerName": "manual",
"workflow": {
"id": "/subscriptions/ae8ad95c-0000-0000-0000-00000000000/resourceGroups/DEVELOPER_RG/providers/Microsoft.Logic/workflows/la-inner"
}
}
},
"runAfter": {},
"type": "Workflow"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {
"$connections": {
"defaultValue": {},
"type": "Object"
}
},
"triggers": {
"manual": {
"inputs": {
"schema": {
"properties": {
"p1": {
"type": "string"
},
"p2": {
"type": "string"
}
},
"required": [
"p1",
"p2"
],
"type": "object"
}
},
"kind": "Http",
"operationOptions": "EnableSchemaValidation",
"type": "Request"
}
}
},
"parameters": {
"$connections": {
"value": {}
}
}
}
```
### Screenshots or Videos
![image 1]()
![image 2]()
![image 3]()
### Browser
Edge
### Additional context
*No response*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.