Share via


Access flow details with the workflow() expression

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Note

These release notes describe functionality that may not have been released yet. To see when this functionality is planned to release, please review Summary of what’s new. Delivery timelines and projected functionality may change or may not ship (see Microsoft policy).

The last feature that we added is a new output property called tags to the workflow() expression. The tags contain properties such as flowDisplayName and environmentName. This means that, from the flow itself, you can send custom email notifications that link back to the flow. For example, this will create an HTML link back to the flow, with the display name of the flow in the title.

<a href="https://flow.microsoft.com/manage/environments/@{workflow()['tags']['environmentName']}/flows/@{workflow()['name']}/details">Open flow @{workflow()['tags']['flowDisplayName']}</a>