Skip to content

LinkeD365/FlowToVisio

Repository files navigation

FlowToVisio

A tool to create Visio representations of your Cloud Flows.

Tool available via XrmToolBox

Limitations

Solution Flows

Open Tool

For flows that are part of solutions, connect to your Dataverse environment using standard XrmToolBox connections. Select the Connect to Dataverse button.

A list of Flows will be displayed. Use the Search bar to find the flow you want. Select Create Visio after selecting. A file dialogue will prompt you where to save your file.

Once complete, a prompt will tell you if you are successful, displaying the number of actions the tool generated.

Find the Visio and open it up.

Connecting to Non-Solutioned Flows

Flows will only appear in the main list if they are part of a solution. Solutions are only available with a Dataverse configuration. If you want to document flows that appear under My Flows, use the Connect to Flow API button. The dialogue allows you to add more than one connection, depending on your environments. Select the appropriate one, when you have created one, by using the select field. 

Add a new connection by selecting the + button. The Label field is just that, a name for the connection to distinguish it. The other 3 parts need to be populated with information created or retrieved in Azure.

Firstly, you will need to register an Azure application, more details are available here

In Azure, register an application, copy the App Id and Tenant Id into the corresponding boxes in the window available when you select Connect to Flow API

Environment Id will be displayed when you navigate to the Flow in My Flows

The Return URL needs to be specified as a Mobile and Desktop application

Document Logic Apps (BETA)

To connect to the Azure Logic Apps, there is a new button available in the toolbar. But first, you need to amend or add an app registration to allow access to Logic Apps.

Register or amend an App registration. API Permissions required are Azure Service Management/user impersonation

In the application, select the Connect to Logic Apps button

Populate the API connection pop up with the appropriate settings. 

Firstly, the Subscription Id can be found on your Logic App Overview, the purple box here

Next, the Application Id and Tenant Id both are available on the App Registration page, the red and yellow items here

The Return URL needs to be specified as a Mobile and Desktop application