I am trying to use your suggestion of going with a Declare Expression, but is there a way to iterate through all the items in a Page List and trigger an Obj-Validate on them and if any fail set the value of the target property to false?
I see that I can trigger an "Edit Validate" on a property in a Declare Expression, but I can't find how to trigger an Obj-Validate on each item of a Page List...
All the conditions are evaluated when the button is loaded in UI, so even though flag is set in run activity it will not be used.
After run activity, add a refresh section action so that button will be loaded again and conditions are evaluated, this time create work will be executing based on the flag set in activity.
We decided to move the creation of the work to the post-processing activity of the flow action instead of trying to do it on the action of the button. That way the flow action validation kicks in before calling the post-processing and it works as expected.