Hi,
I have (for my sins) implemented a SharePoint Online site that uses power automate for some workflows. Some of these are initiated by a button in a SharePoint list column which contains the flow identifier.
"elmType": "button",
"txtContent": "Send for Approval",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"v1/c373gfb3-98bf-ee8a-a501-f44c52be9641/732c2795-fa83-9e23-f573-ee03e81ba6c4\"}"
I am forced to use non-default environments and have a 'Dev' and 'Prod' scenario. (Update flows in an unmanaged Dev solution, export the solution as managed, import as a managed solution to Prod)
What I have noticed that each time I import the solution to Prod as an upgrade to the existing solution it generates a new flow identifier. This means that each time I have to update the SharePoint column buttons with the new identifier.
I was just wondering if anyone new of a workaround to this or whether I have missed something obvious? (to save me some work)
I did think that moving to a power apps form / app would help, but I'm assuming any button to initiate flows from a power app would have the same issue.
Thanks