cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pabloglombo
Level: Powered On

Programmatically assign an existing Flow to an existing Solution

I can create a flow programmatically by using https://MYORG.crmX.dynamics.com/api/data/v9.1/workflows and using the POST method... this creates a flow (not under My Flows but in the Solutions flows).

Questions are:

How can I programmatically add a solution?

How can I programmatically assign an existing flow to an existing solution? What is the endpoint for these requests?

Thanks

2 REPLIES 2
Community Support Team
Community Support Team

Re: Programmatically assign an existing Flow to an existing Solution

 

Hi @pabloglombo ,

 

I'm afraid I haven't found any documentation to support the ability to programmatically assign an existing Flow to an existing Solution.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pabloglombo
Level: Powered On

Re: Programmatically assign an existing Flow to an existing Solution

the way is to call the api/data/v9.1/AddSolutionComponent  endpoint.

However now my question is now to create a new Connection programmatically. I could create it manually and get the connection id from the URL link but I need all this to be automated.

 

Thanks

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,844)