Azure / LogicAppsUX

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

Filter Array Action doesn't show output directly #6028

Closed shboulatom83 closed 3 weeks ago

shboulatom83 commented 3 weeks ago

Describe the Bug with repro steps

  1. Create simple logic app (Consumption or Standard) to filter a simple array
  2. run the workflow
  3. notice that the Filter Array action's output blade shows (No outputs), but if you click show raw outputs, the outputs would show.

Image

Image

  1. This could be misleading, as some might feel the filter action is not working

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

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#",
    "contentVersion": "1.0.0.0",
    "triggers": {
      "Recurrence": {
        "recurrence": {
          "frequency": "Month",
          "interval": 12
        },
        "evaluatedRecurrence": {
          "frequency": "Month",
          "interval": 12
        },
        "type": "Recurrence"
      }
    },
    "actions": {
      "Filter_array": {
        "runAfter": {
          "Initialize_variable_1": [
            "Succeeded"
          ]
        },
        "type": "Query",
        "inputs": {
          "from": "@variables('inputArray')",
          "where": "@greater(item(),2)"
        }
      },
      "Initialize_variable_1": {
        "runAfter": {},
        "type": "InitializeVariable",
        "inputs": {
          "variables": [
            {
              "name": "inputArray",
              "type": "array",
              "value": [
                1,
                2,
                3,
                4,
                5
              ]
            }
          ]
        }
      }
    },
    "outputs": {},
    "parameters": {
      "$connections": {
        "type": "Object",
        "defaultValue": {}
      }
    }
  },
  "parameters": {
    "$connections": {
      "value": {}
    }
  }
}

Screenshots or Videos

No response

Browser

All

Additional context

No response