Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic Apps editor in Azure portal repeatedly brakes a filter array action #1254

Open
oksatc opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@oksatc
Copy link

oksatc commented Nov 28, 2024

Describe the Bug

Azure Logic Apps editor repeatedly autocorrects a filter array action from:

{
"type": "Query",
"inputs": {
"from": "@variables('someArrayVariable')",
"where": "@Not(contains(body('someSelectAction'),item()?['someId']))"
}
}

to

{
"type": "Query",
"inputs": {
"from": "@variables('someArrayVariable')",
"where": "@Not(notcontains(body('someSelectAction'),item()?['someId']))"
}
}

Plan Type

Standard

Steps to Reproduce the Bug or Issue

  1. Go to editor
  2. Insert the filter array action as described in bug description. According to my experience this happens with at least contains and equals when preceded with "not".
  3. Save the workflow. Issue occurs with most, but not every save.

Workflow JSON

{
  "type": "Query",
  "inputs": {
    "from": "@variables('someArrayVariable')",
    "where": "@not(contains(body('someSelectAction'),item()?['someRandomId']))"
  }
}

Screenshots or Videos

No response

Additional context

Happens within a workflow in a Standard logic app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant