In Power Automate for desktop version 2.14, users cannot edit or run desktop flows with error message “Failed to deserialize Flow”.
The desktop flow contains disabled actions that have been copy/pasted.
Affected actions are:
If window contains
If webpage contains
Wait for image
Wait for window
Wait for window content
Wait for webpage content
There is a bug when deserializing the pasted script, and a DISABLE statement gets inserted which causes the flow to fail to deserialize.
Update Power Automate for desktop to version 126.96.36.19914 or later. A new version that resolves this issue was released on 17th of November 2021.