create one powerautomate to send a approved mail to user, call same powerautomate from Javascript on click of approve button
Create one powerautomate to send a approved mail to user, call same powerautomate from Javascript on click of approve button
1) Open Your Power apps (make.powerapps.com)
2) Create one Http request.
Add step for Send Email.
3) Create One Approve Button By using Ribbon work bench
4) By using CRM Rest Builder retrieve the Parent Email address
5) Write a Java Script Code with in that take Xrm Web API code by single retrieve using CRM Rest Builder.
6) Create one Web Resource and Add Java script code in to this Web Resource
7) Add this web Resource to Approved Button
Now Create an Approve button
When you click on Approve button Approve status will update to Approved
Click on Button command then below window will opened
click on Action and enter
Library: Search with schema name check and select the Web Resource Name
Function Name: Enter your Java script function Name
Now Click on Add parameter and choose CRM Parameter
Inside CRM Parameters take Primary Control
Click on Publish
In Rest Builder we should do Retrieve Single
Select Contact in Entity
Select Email Address in Field
Click on create Request then below code will generates





Comments
Post a Comment