I probably shouldn't even comment on this post, but here's my 2 cents anyway.
I have NO background in programming, and I like that Flow is geared more toward me than toward people with programming background. As a "layperson", I can't really understand your post (which is why I probably shouldn't even be responding - sorry), but from my limited ability to surmise, it sounds like you want this feature to allow you to keep your Flow definition neat and clean - from a programmer's perspective. If it'd make you happy, you of course have every right to request it, but for users like me, this doesn't matter. It sounds like you want changes that enable you to work the way you're used to working as a programmer, and that's fine. It'd be nice if they could give them to you. But, I want to just include my perspective because if Microsoft were to add features in order to allow programmer to work more the way they're accustomed to, I hope they wouldn't go as far as to change features that are currently designed to cater to laypeople like myself. If the way you'd ike to work in Flow was the standard way Flow was designed to be used, people like myself would no longer be able to use it.
I hope you get your request but in the meantime, try to embrace the experience of this product. It's not what you're used to, but I can personally vouch that this approach has a lot of value - if for no other reason than it enables people like me to accomplish some pretty sophistocated tasks using automation. And, as a person who's never taken a computer science course, I feel using this product has taught some important foundational concepts and increased my interest in programming. We need to support more products like this, especially for our future - how young a child could you teach to write code the way you usually do? How young a child could you teach to create simple programs using an interface more like this one? As a virtual child when it comes to computer science, I can attest that this feels like a gateway to learning more about the subject.
I know this is an old idea, but I was trying to do something similar and found this idea when searching for the solution so thought I'd update with how I'm updating my value.
I'm not sure when the expressions were added but now in Power Automate you can use the expressions, setProperty(), addProperty() and removeProperty() which can be used to update your variable.
Then using setVariable to set with the new values
adapted from: https://sergeluca.wordpress.com/2018/08/21/how-to-change-a-single-property-value-of-a-json-object/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.