Logic App Select action changing integers to strings

Michael Samson 0 Reputation points
2025-02-28T16:02:46.14+00:00

When editing an integer in a Logic App Select action, it incorrectly changes the integer to a string. This is only noticeable in the Code View. Appears to be a bug

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,403 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sonny Gillissen 3,591 Reputation points
    2025-03-03T20:00:28.49+00:00

    Hi Michael Samson

    Thanks for reaching out on Microsoft Q&A!

    Please check in code view whether your value is noted as "@{variables('var')}", and if that is the case change it to "@variables('var')" (so without the curly brackets) as the first notation interprets any value as string and the second casts the value to it’s original form. This is not only the case with integers though, the same goes for boolean values.

    Please click ‘Accept answer’ if you think my answer is helpful. Feel free to drop additional queries in the comments below!

    Kind regards,

    Sonny

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.