cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pabloglombo
Regular Visitor

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
v-bacao-msft
Community Support
Community Support

 

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.

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Users online (3,307)