Skip to main content

Notifications

Community site session details

Community site session details

Session Id : +yk+sTEufGuB9FfMeEZ3ob
Power Automate - Building Flows
Unanswered

Trigger Flow from Web Resource (in Model Driven App)

Like (0) ShareShare
ReportReport
Posted on 16 Apr 2024 16:56:21 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 67

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 66 Super User 2025 Season 1

#3
rzaneti Profile Picture

rzaneti 41 Super User 2025 Season 1

Overall leaderboard
Loading started