I need ideas on how I can trigger a logic app from model driven app without using connectors. I have business process flow that user step through and once the information is complete, I would like to trigger logic app but i can't figure out what the best way to do it is. Any ideas or examples will be greatly appreciated.
I would run a flow within PowerApps, and use the HTTP action to trigger a logic App.
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
Subscribe to my YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
Hi @meklulose,
I've made a test for your reference:
1\Add an "When a HTTP request is received" trigger , save the flow and then copy the URL
2\Navigate to the model-driven studio to edit command bar
3\Add a command button
I)Action : Run JavaScript
II)Add Library
III)Set the Library and then publish the library
function BofTest(){
var requestOptions = {
method: 'POST',
redirect: 'follow'
};
fetch("https://prod-24.southeastasiXXXXXXXXnual%2Frun&sv=1.0&sig=VTuTFhOPqu2REZdY9PYJaZVXfHNbrF88guTtfpd-4xc", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
}
IIII)Set the function name which we want to run
4\Save and publish the model-driven app
Click the button in the app and the flow will be triggered
Best Regards,
Bof
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |