Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
75 stars 81 forks source link

Generate host files content action: Toggle button missing along with default content in it. #1988

Closed vgouth closed 1 year ago

vgouth commented 1 year ago

Describe the Bug with repro steps

1.Create a standard logic app 2.Create an empty stateful workflow 3.Add a request trigger and generate host files content action. 4.Expected Result: We have an option for rows button on the right to enable to fill out all the input as a single value and there is content found like null mentioned in the script. Toggle button is present in old designer Actual Result : We dont have an option for rows button on the right to enable to fill out all the input as a single value and there is no content found like null mentioned in the above script. Toggle button not present compared to old designer

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Generate_Host_File_Contents": {
                "type": "ServiceProvider",
                "inputs": {
                    "parameters": {
                        "hidx": "redefines.hidx",
                        "schema": "CUSTOMER_FILE_ROW",
                        "rows": "[\n  \"[\n  {\n    \"CUSTOMER_TYPE\": \"B\",\n    \"SIMPLE_REDEFINITION1\": {\n      \"BUSINESS\": {\n        \"NAME\": \"ABC\"\n      }\n    }\n  },\n  {\n    \"CUSTOMER_TYPE\": \"P\",\n    \"SIMPLE_REDEFINITION1\": {\n      \"PERSONAL\": {\n        \"NAME\": {\n          \"FIRST_NAME\": \"Rob\",\n          \"LAST_NAME\": \"BEA\"\n        }\n      }\n    }\n  }\n]\"\n]"
                    },
                    "serviceProviderConfiguration": {
                        "connectionName": "hostfile",
                        "operationId": "generateFileContents",
                        "serviceProviderId": "/serviceProviders/hostfile"
                    }
                },
                "runAfter": {}
            },
            "Parse_Host_File_Contents": {
                "type": "ServiceProvider",
                "inputs": {
                    "parameters": {
                        "hidx": "redefines.hidx",
                        "schema": "CUSTOMER_FILE_ROW",
                        "contents": "@body('Generate_Host_File_Contents')?['contents']"
                    },
                    "serviceProviderConfiguration": {
                        "connectionName": "hostfile",
                        "operationId": "parseFileContents",
                        "serviceProviderId": "/serviceProviders/hostfile"
                    }
                },
                "runAfter": {
                    "Generate_Host_File_Contents": [
                        "SUCCEEDED"
                    ]
                }
            },
            "Response": {
                "type": "Response",
                "kind": "Http",
                "inputs": {
                    "statusCode": 200,
                    "body": "@body('Parse_Host_File_Contents')?['rows']"
                },
                "runAfter": {
                    "Parse_Host_File_Contents": [
                        "SUCCEEDED"
                    ]
                }
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http"
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

image

Browser

Vs code

Additional context

Artifacts Version:

VS Code extension - ​vsix icon vscode-azurelogicapps-2.0.26.vsix NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzcxMzU5ODUxL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.17.1.nupkg Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.17.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.17.1_any-any.zip

vgouth commented 1 year ago

Issue repro in latest artifact.

  1. VS Code extension - vscode-azurelogicapps-2.9.1.vsix
  2. NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzcyMDcxNTQ1L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.19.1.nupkg
  3. Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
  4. Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.19.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.19.1_any-any.zip