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


To add the record’s URL in the Item link in the approval step within Power Automate, we can follow the below steps

First, to get the URL, open the record, click on Email a link

Copy the URL from the mail editor

Or get the Record URL using our favorite tool for Dynamics 365 / CRM

https://github.com/rajyraman/Levelup-for-Dynamics-CRM

Paste the URL and specify the id (guid)  part as shown below.

Link within Email

Inside Approval Center

Within the app

Another option could be to create a custom field in the entity to hold the URL and use the same for the Item link.

Check our the below posts for more details à

https://diyd365.com/2019/11/27/populating-item-link-in-approvals-power-automate-ms-flow/

https://www.d365geek.co.uk/single-post/2018/11/05/Microsoft-Flow-Vs-Dynamics-365-Workflows—Part-1

https://learningrefresh.home.blog/2019/04/08/create-first-microsoft-flow/

https://powerusers.microsoft.com/t5/Building-Flows/Dynamics-365-Get-URL-dynamically-in-flow/td-p/153813

http://linnzawwin.blogspot.com/2020/01/power-automate-find-out-how-to-include.html

Hope it helps..

Advertisements

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

6 thoughts on “Add url of record in Item link in Approval – Power Automate / Dynamics 365”

  1. This will not work. Note that the url is “mydev.crm.dynamics.com”. When you move the Power Automate script to a production environment, this will break.

    Instead. you need to somehow add the host to the rest of the url based on the environment you are in. I.E, in dev, use “mydev”, in prod use “myProd”, etc.

    Like

Please share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.