I use Power Automate to create alerts for our users. These generally consist of Send an email (V2) actions where the body is made up of one or more string variables or Composes.
I use Append to string or Compose actions to create pretty HTML with my dynamic data values, like a list of summary totals. This has worked fine for months now.
Recently when opening one of these actions for editing I noticed that instead of seeing the start of the expression displayed in a cute blue or pink box (like fx formatDateTime... or Outputs) I see static integers.
These values seem to be the last calculated values from my last run of this flow.
I assumed this was a cute new feature, except that I can no longer click on these highlighted boxes and see or edit the underlying expression.
I find that once Power Automate designer converts my expressions to static result values AND if I click Save, my expressions (formulas) are completely gone.
What was once dynamic code is now completely static values.
CoPilot calls this flattening and thinks that the original expressions can be recovered by exporting the flow and examining the JSON. This is incorrect. The JSON contains the flattened result as well ( @{1531} ).
I'll attach a screenshot of a Compose action where the static values can be seen (some of my more complex expressions did not get flattened), and a mouseover of one of the flattened values to show that there is no longer an expression underlying the creation of the value.
This in my opinion is a major bug since it renders once dynamic flows as static, and disconnects the results from the source data.