Add URL of record in Item link in Approval – Power Automate Dynamics 365

| Anas Arshad

Add URL of record in Item link in Approval – Power Automate / Dynamics 365

To add the URL of record in an approval item link in Power Automate/Dynamics 365, you can use the following steps:

  1. After you create the record, add a "Get Record" action to your Power Automate flow to retrieve the record's URL. To do this, select the appropriate connection to your Dynamics 365 environment, choose the entity that the record belongs to, and provide the record's ID.
  2. Add a "Compose" action to your flow to build the URL for the record. Use the following formula:

concat('', replace(outputs('Get_record')?['$entityName'], '_', ''), '&id=', outputs('Get_record')?['$id'], '&pagetype=entityrecord')

Note: Replace "yourorg" with your organization name and adjust the formula as necessary to match your environment.

  1. In the "Start and Wait for an Approval" action, select the "Details" field and click "Add dynamic content". Select "Expression" and enter the following formula:

Note: The URL is a variable which contains the output of Compose.

This creates a hyperlink in the Approval field that opens the record in Dynamics 365 when clicked.

Note: If your email client or device does not support HTML links, you may not be able to click the URL. 

Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.

Chief Architect, Founder, and CEO - a Microsoft recognized Power Platform solution architect.

About The Blog

Stay updated with what is happening in the Microsoft Business Applications world and initiatives Imperium is taking to ease digital transformation for customers.

More About Us

We provide guidance and strategic oversight to C-Suite and IT Directors for on-going implementations. Feel free to give us a call.

1 331 250 27 17
Send A Message

Ready to Start?

Get a personalized consultation for your project.

Book a Meeting