pnp/blog

Create and Retrieve Power Automate Flows - WITH CODE!!! :-)

Closed this issue · 1 comments

Create and Retrieve Power Automate Flows - WITH CODE!!! :-)

As you are probably aware, Microsoft is looking to eliminate SharePoint 2010 and 2013 workflows.

https://pnp.github.io/blog/post/create-and-retrieve-power-automate-flows-with-code/

While there is a solutionid property on the Workflow table, all Flows end up in the default solution. If you want a Flow to appear in a solution, you have to create a Solution Component record to relate the Flow to the Solution. https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/addsolutioncomponent?view=dataverse-latest