Sending e-mail from a flow triggered in Dynamics 365:
How does one grab the url to include it in the body of an outlook e-mail in the flow?
I was given a JSON command, but it doesn't work. (Perhaps I'm not inserting it correctly?) uriHost(body('Parse_JSON_to_get_execution_context')?['@odata.context'])
I also want to pull owner and account and include them in the e-mail, but blanks are returned. How do I accomplish these?
Could you post a screenshot of your flow?
uriHost() expression should give you the url. So it depends the data you are passing.
To retrieve owner you need Get Record by Id step. Here you need to pass the id of owner from your trigger. The entity you need to configure for this step is users.
To retrieve Account you need Get Record by Id step. Here you need to pass the id of Account from your trigger. The entity you need to configure for this step is Accounts.
Thanks for your interest. Here are the pertinent parts of the flow:
I don't quite understand your comments about "Id step". Are you saying I need to link to the Accounts and User entities to properly grab account name and owner?
Thanks for the screenshot.
Above is that added as an expression? Check the run history and see the results.
Yes for the Account and Owner you need another two action steps Get Record. Set the identifier (account/owner) from the previous step.
Check this in a compose statement and see what value you are getting via execution history.
Also post your JSON body content.
That's my misunderstanding of what to do with this.
I have this workaround, using JSON... but I can't make heads or tails of it:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.