logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

VS Code migration tool failed to export if workflow contains Inline code action

Open Drac-Zhang opened this issue 1 year ago • 3 comments

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

{
    "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

Drac-Zhang avatar Feb 12 '24 08:02 Drac-Zhang

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

AbodeSaafan avatar Feb 12 '24 17:02 AbodeSaafan

Hi @AbodeSaafan thanks for your information. May I know the ETA of the fix? Thank you

Drac-Zhang avatar Feb 13 '24 01:02 Drac-Zhang

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?

swghimire avatar Feb 15 '24 00:02 swghimire