Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Trigger Flow from Web Resource (in Model Driven App)

(0) ShareShare
ReportReport
Posted on by 623

I have a model driven app that has this web resource in it that creates a button that the user can click. (short story) - basically - in the else condition I want to trigger a Power Automate flow that will send an email to a vendor, with the VID ( var VID = formContext.data.entity.getId();)  to be able to edit a dataverse record. Can that be done?

Was looking into the HTTP Request trigger... ?? 

 

Thanks in advance. 

 

 

 Xrm.Navigation.openConfirmDialog(confirmStrings, confirmOptions).then(
 function (success) {
 if (success.confirmed) {
 var VID = formContext.data.entity.getId();
 VID = VID.toString().replace("{", "").replace("}", "");

 var url = "https://apps.powerapps.com/play/e/59f66dc4-d69c-4b98-8ba0-01b59185ba02/a/ad9fd324-564c-46fc-ab1b-bdf8cf0fae53?tenantId=8395b8e4-d017-486b-a04e-7e46b2103d4b&hint=335304d0-7387-4d9c-8398-e4cd39dec17c&sourcetime=1708557430176?ID=";
 url = url + VID;

 // window.open(url, '_blank').focus();
 window.open(url, "Vendor Request App", "width=1200,height=1000");
 }
 else {
 //alert("Vendor");
 }
 }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >