logicapps
logicapps copied to clipboard
VS Code migration tool failed to export if workflow contains Inline code action
Describe the Bug with repro steps
- Create a Logic App Consumption (not ISE resource) with "Inline Code" action.
- Export via VS Code (Extension verison: 2.108.3)
- We will experience "Internal Server Error" exception:
What type of Logic App Is this happening in?
Standard (VSCode)
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": {
"Compose": {
"inputs": "@body('Execute_JavaScript_Code')",
"runAfter": {
"Execute_JavaScript_Code": [
"Succeeded"
]
},
"type": "Compose"
},
"Execute_JavaScript_Code": {
"inputs": {
"code": "var text = \"Hello world from \" + workflowContext.workflow.name;\r\n\r\nreturn text;"
},
"runAfter": {},
"type": "JavaScriptCode"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {},
"triggers": {
"manual": {
"inputs": {},
"kind": "Http",
"type": "Request"
}
}
},
"parameters": {}
}
Screenshots or Videos
No response
Browser
N/A
Additional context
No response
Hey @Drac-Zhang this is an issue with the backend of the export tool. We are aware of this issue and currently a dev is working on getting a fix here
Hi @AbodeSaafan thanks for your information. May I know the ETA of the fix? Thank you
Hi there, we've deployed a hotfix to the customer's region. Could you please retry and let us know if you are still dealing with that issue?