VS Code migration tool failed to export if workflow contains Inline code action
- Dominant language
- ABAP
- Stars
- 424
- Forks
- 320
- Avg merge
- 14h 41m
- Merged PRs (30d)
- 1
Description
### Describe the Bug with repro steps
1. Create a Logic App Consumption (not ISE resource) with "Inline Code" action.
2. Export via VS Code (Extension verison: 2.108.3)
3. We will experience "Internal Server Error" exception:
![image]()
![image]()
![image]()
### 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
```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*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.