Azure / LogicAppsUX

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

Prevent parent node from being dragged below dependent node #3012

Closed vgouth closed 3 months ago

vgouth commented 1 year ago

Describe the Bug with repro steps

1.Create a Stateful workflow and open the Designer.

2.Add Http request trigger and add Dropbox and add compose.

3.Add Dropbox token into compose create a dependent action to compose which adds implicit for loop.

4.Add some more compose action after step 2.

4.Try to Drag the Dropbox and drop in between step 4 compose actions.

Expected: Drag and drop can not happen in this above case with Dropbox.

Actual: It is happening, we can drop the Dropbox action after its dependent card.

What type of Logic App Is this happening in?

Standard (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

No

Workflow JSON

{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "actions": {
      "For_each": {
        "type": "foreach",
        "foreach": "@body('List_files_in_folder')",
        "actions": {},
        "runAfter": {}
      },
      "Compose_1": {
        "type": "Compose",
        "inputs": "fdadfhdf",
        "runAfter": {
          "Compose": [
            "SUCCEEDED"
          ]
        }
      },
      "List_files_in_folder": {
        "type": "ApiConnection",
        "inputs": {
          "host": {
            "connection": {
              "referenceName": "dropbox"
            }
          },
          "method": "get",
          "path": "/datasets/default/folders/@{encodeURIComponent(encodeURIComponent('6e202211-2856-4d17-9ded-5beb8b8626b0'))}"
        },
        "runAfter": {
          "For_each": [
            "SUCCEEDED"
          ]
        },
        "metadata": {
          "6e202211-2856-4d17-9ded-5beb8b8626b0": "/"
        }
      },
      "Compose": {
        "type": "Compose",
        "inputs": "@items('For_each')?['DisplayName']",
        "runAfter": {
          "List_files_in_folder": [
            "SUCCEEDED"
          ]
        }
      }
    },
    "contentVersion": "1.0.0.0",
    "outputs": {},
    "triggers": {
      "When_a_HTTP_request_is_received": {
        "type": "Request",
        "kind": "Http"
      }
    }
  },
  "connectionReferences": {
    "dropbox": {
      "connection": {
        "id": "/subscriptions/53ce23c6-ff79-490b-a7fb-9590fe7a414a/resourceGroups/LAStnd-v-govubilish/providers/Microsoft.Web/connections/dropbox"
      },
      "connectionName": "dropbox",
      "api": {
        "id": "/subscriptions/53ce23c6-ff79-490b-a7fb-9590fe7a414a/providers/Microsoft.Web/locations/centralus/managedApis/dropbox"
      },
      "authentication": {
        "type": "ManagedServiceIdentity"
      }
    }
  },
  "parameters": {}
}

Screenshots or Videos

image

Browser

Edge

Additional context

Environmental Details:

URL: https://aka.ms/emastagiLong-flowstip1

Version: 2.30717.1.1

AB#24612832

vgouth commented 1 year ago

Issue repro in the latest request:

Environmental Details: URL: https://aka.ms/emastagiLong-flowstip1

Version: 2.30731.1.4

vgouth commented 1 year ago

Issue repro in the latest request

Environmental Details: URL: https://aka.ms/emastagiLong-flowstip1 Version: 2.30814.1.1

vgouth commented 1 year ago

Issue repro in the latest request.

1.VS Code extension - vscode-azurelogicapps-2.58.0.vsix 2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzc4MzA5NDU2L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.36.3.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.36.3/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.36.3_any-any.zip

image

vgouth commented 1 year ago

Issue repro in the latest request

Environmental Details: URL: https://aka.ms/emastagiLong-flowstip1 Version: 2.30828.1.1

image

vgouth commented 1 year ago

Issue repro in the latest VS code request

1.VS Code extension - vscode-azurelogicapps-2.63.3.vsix 2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzc5MjQ0MDM5L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.38.2.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.38.2/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.38.2_any-any.zip

image

vgouth commented 1 year ago

Issue repro in the latest request.

Environmental Details: URL: https://aka.ms/emastagiLong-flowstip1 Version: 2.30920.1.1

image

ramya894 commented 1 year ago

Issue repro in the latest request.

1.VS Code extension - ​vsix icon vscode-azurelogicapps-2.69.0.vsix

2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzgwMDY5MTEwL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.41.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.41.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.41.1_any-any.zip</p> image

ramya894 commented 11 months ago

Issue repro in the latest request. URL: https://aka.ms/emastagiLong-flowstip1 Version: 2.31010.1.1

image

ramya894 commented 11 months ago

Issue repro in the latest request.

VS Code extension - ​​vsix icon vscode-azurelogicapps-2.72.1.vsix

NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzgxMTY0NTE3L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.44.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.44.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.44.1_any-any.zip

image

vgouth commented 11 months ago

Issue repro in the latest request

Environmental Details: Version: 2.31023.1.1

image

ramya894 commented 10 months ago

Issue repro in the latest request.

1.VS Code extension -​2.81.0

newviewerror

ramya894 commented 10 months ago

Issue repro in the latest request. Environmental Details:

URL: https://aka.ms/emastagiLong-flowstip1

Version: 2.31108.1.1

image

ramya894 commented 10 months ago

Issue repro in the latest VScode version.

1.VS Code extension -​2.86.0

image

ramya894 commented 9 months ago

Issue repro in the latest portal version.

URL: https://aka.ms/emastagiLong-flowstip1

Version: 2.31207.1.1

image

ramya894 commented 9 months ago

Issue repro in the latest VScode version.

1.VS Code extension -​2.99.0

image

ramya894 commented 8 months ago

Issue repro in the latest VScode version.

1.VS Code new bundle -​1.55.0

image

ramya894 commented 8 months ago

Issue repro in the latest portal version: Version: 2.40109.1.1

image

ramya894 commented 8 months ago

Issue repro in the latest Standard portal version: Version: 2.40122.1.1

image

ramya894 commented 8 months ago

Issue repro in the latest VScode version.

1.VS Code new bundle -​1.58.3

image

azure-boards[bot] commented 7 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 7 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 7 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 7 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

ramya894 commented 7 months ago

Issue repro in the latest vscode version.

image

ramya894 commented 7 months ago

Issue repro in the latest VS Code version: 2.113.1

image

ramya894 commented 7 months ago

Issue repro in the latest portal version: 2.40226.1.1

image

ramya894 commented 7 months ago

Issue repro in the latest Vscode version: 2.119.0

image

ramya894 commented 6 months ago

Issue repro in the in the latest VSCode version: 2.125.0

image

ramya894 commented 6 months ago

Issue repro in the latest portal version: 2.40311.1.4 image

ramya894 commented 6 months ago

Issue repro in the latest VScode version :v.3.0.0

image

ramya894 commented 5 months ago

Issue repro in the latest portal version: 2.40408.1.2

image

ramya894 commented 5 months ago

Issue repro in the latest Vscode version: 1.70.23

image

ramya894 commented 4 months ago

Issue repro in the latest VScode version: 4.13.10

image

ramya894 commented 3 months ago

Issue repro in the latest VScode version: 4.25.0

image