Parameter types are not being persisted
- Dominant language
- TypeScript
- Stars
- 111
- Forks
- 109
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 20
Description
### Describe the Bug with repro steps
1. Deploy a logic app that contains parameters.
2. Open the logic app in the azure portal using the new designer
3. Click the code view tab
You will now see that the parameter types that have been defined are gone from the code code that defines the logic app definition.
If you try saving the logic app from the code view (after deployment, unchanged), an error will popup:
![Image]()
IF you manually add the type to the code view (in the json), the file will save properly, and you can make manual edits fine.
If you refresh the page, the error will appear again (and this data will be gone from the code view again.
### What type of Logic App Is this happening in?
Consumption (Portal)
### 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
Bicep for rolling out:
```
resource logicApp 'Microsoft.Logic/workflows@2019-05-01' = {
name: logicAppName
location: location
tags: {
displayName: logicAppName
createdBy: releaseInfo
}
identity: {
type: 'SystemAssigned'
}
properties: {
definition: json(loadTextContent('./logicapp-definitions/logicapp-case-definition.json'))
parameters: {
infra: {
type: 'Object' // I am defining the parameter in the parameters object on the logic app itself here from bicep. This one is removed after deployment.
value: infra
}
}
}
dependsOn: []
}
```
Redacted content of my workflow file
```
{
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"triggers": {
"some": "trigger"
},
"actions": {},
"outputs": {},
"parameters": {
"infra": {
"type": "Object" // This one is properly transferred to the logic app.
}
}
}
```
### Browser
Edge
### Additional context
The old designer did not have this problem.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.