BN.WorkflowDoc.XrmToolBox
1.0.6
dotnet add package BN.WorkflowDoc.XrmToolBox --version 1.0.6
NuGet\Install-Package BN.WorkflowDoc.XrmToolBox -Version 1.0.6
<PackageReference Include="BN.WorkflowDoc.XrmToolBox" Version="1.0.6" />
<PackageVersion Include="BN.WorkflowDoc.XrmToolBox" Version="1.0.6" />
<PackageReference Include="BN.WorkflowDoc.XrmToolBox" />
paket add BN.WorkflowDoc.XrmToolBox --version 1.0.6
#r "nuget: BN.WorkflowDoc.XrmToolBox, 1.0.6"
#:package BN.WorkflowDoc.XrmToolBox@1.0.6
#addin nuget:?package=BN.WorkflowDoc.XrmToolBox&version=1.0.6
#tool nuget:?package=BN.WorkflowDoc.XrmToolBox&version=1.0.6
BN Workflow Documenter
Parses unmanaged Dynamics 365 solution ZIP files, extracts classic workflow metadata, generates quality/dependency analysis, and produces workflow documentation artifacts.
<img width="966" height="893" alt="image" src="https://github.com/user-attachments/assets/787c9098-0b31-48ca-810e-ad5351364cb7" />
Current Capabilities
- Classic workflow extraction from unmanaged solution ZIP packages.
- Workflow and solution overview model generation.
- Quality scoring with risk-band output.
- Dependency graph construction and visualization.
- DOCX output generation for workflow-level and overview reports.
- Detailed workflow documentation sections including fields read, fields set or updated, process flow steps, transition matrix, and full step breakdown.
- Workflow step inventory CSV export for downstream review and audit.
- Diagram rendering with improved visual styling, action-type color coding, semantic node shapes, vertical flow layout, and automatic large-diagram splitting for Word readability.
- Business-friendly titles for split diagram views derived from workflow decision points and branch themes.
- Configurable diagram detail level (
StandardorDetailed) in both CLI and WPF UI. - CLI modes for single-run and batch/portfolio execution.
- WPF desktop UI with a single Configure view for single-run and batch generation, plus progress, cancellation, warnings, and output shortcuts.
Output Artifacts
- Per-workflow DOCX report with summary, trigger matrix, fields read, fields set or updated, process flow steps, transition matrix, diagrams, warnings, and full step inventory.
- Solution overview DOCX with executive summary, quality assessment, dependency graph, workflow cards, and appendix-level workflow step inventory.
- SVG diagram exports for each workflow.
workflow-step-inventory.csvcontaining flattened step-level inventory across generated workflows.- JSON manifests and portfolio summary artifacts for single-run and batch execution modes.
Sample Outputs
Single-run docx or pack output folder typically contains:
overview.docx001-<workflow-name>.docx002-<workflow-name>.docxdiagrams/workflow-step-inventory.csvbundle-manifest.json- optional archive:
<output-folder>.zipwhen usingpack
Batch output folder typically contains:
portfolio-overview.docxportfolio-summary.jsonportfolio-manifest.jsonworkflow-step-inventory.csv- one folder per solution, for example:
001-<solution-name>/ 001-<solution-name>/overview.docx001-<solution-name>/001-<workflow-name>.docx001-<solution-name>/002-<workflow-name>.docx001-<solution-name>/diagrams/- optional archive:
<output-folder>.zipwhen using packed batch output
Which Mode To Use
- Use
extractwhen you want structured extraction output for debugging or parser inspection. - Use
documentwhen you want JSON workflow and overview artifacts without generating Word documents. - Use
docxwhen you want full documentation outputs including workflow DOCX files, overview DOCX, diagrams, manifests, and step inventory CSV. - Use
packwhen you want the same output asdocxplus a ZIP archive of the generated folder. - Use
batchwhen you need to process multiple solution ZIPs in one run and generate portfolio-level summary artifacts. - Use the WPF app when you want a desktop workflow with drag and drop input, configure-time tone/detail settings, progress tracking, warnings, and batch selection without CLI commands.
Build And Test
dotnet restore BNWorkflowDocumenter.sln
dotnet build BNWorkflowDocumenter.sln
dotnet test tests/BN.WorkflowDoc.Core.Tests/BN.WorkflowDoc.Core.Tests.csproj
CLI Usage
dotnet run --project src/BN.WorkflowDoc.Cli -- extract <path-to-solution.zip>
dotnet run --project src/BN.WorkflowDoc.Cli -- document <path-to-solution.zip> [output-folder]
dotnet run --project src/BN.WorkflowDoc.Cli -- docx <path-to-solution.zip> [output-folder] [--diagram-detail standard|detailed]
dotnet run --project src/BN.WorkflowDoc.Cli -- pack <path-to-solution.zip> [output-folder] [--diagram-detail standard|detailed]
dotnet run --project src/BN.WorkflowDoc.Cli -- batch <zip|folder|glob> [output-folder] [--diagram-detail standard|detailed]
XrmToolBox Plugin
The repository also ships an XrmToolBox plugin named BridgeNexa Workflow Documenter for live Dataverse environments.
What The Plugin Does
- Connects to your Dataverse organization and loads classic process records.
- Lets you filter and select workflows, dialogs, and actions.
- Generates documentation by invoking the bundled CLI runtime from inside XrmToolBox.
- Uses the packaged
cli/runtime folder when available and retains the zipped runtime as a fallback for direct plugin deployment. - Produces either per-workflow DOCX files + overview, or one combined full-detail DOCX.
Install The Plugin
Option 1: Plugin Store (recommended when available)
- Open XrmToolBox.
- Open Plugins Store.
- Search for BridgeNexa Workflow Documenter.
- Install and restart XrmToolBox when prompted.
Option 2: Local package/manual deployment
- Build and pack this repository:
dotnet build src/BN.WorkflowDoc.XrmToolBox/BN.WorkflowDoc.XrmToolBox.csproj -c Release
dotnet pack src/BN.WorkflowDoc.XrmToolBox/BN.WorkflowDoc.XrmToolBox.csproj -c Release
- Use the generated package in
artifacts/nuget/(or the prepared submission bundle underartifacts/submission-v<version>/). - If deploying from the
.nupkg, preserve the packaged folder structure underlib/net48/Plugins/BN.WorkflowDoc.XrmToolBox/, including the bundledcli/folder. - If deploying manually from the prepared
release-pluginbundle instead, copy the plugin payload files to your XrmToolBox plugin folder:BN.WorkflowDoc.XrmToolBox.dllBN.WorkflowDoc.XrmToolBox.pdbBN.WorkflowDoc.Cli.runtime.zip
How To Use The Plugin
- Open BridgeNexa Workflow Documenter in XrmToolBox.
- Connect to your Dataverse environment (the plugin can open without a connection, but loading/export requires one).
- Click Load Workflows to pull available classic workflows/dialogs/actions.
- Filter using:
- search box (name/entity/trigger text)
- category chips (Workflow, Dialog, Action)
- Select items with checkboxes. You can use:
- Select All Found
- Select Visible
- Clear All
- Click Settings to configure:
- default output folder
- narrative style (Business or Technical)
- diagram detail (Detailed or Standard)
- output mode (Per-workflow + overview, or Single combined full-detail)
- Click Generate Docs.
- Review the completion message and open the output folder.
Plugin Output
Depending on settings and selected workflows, the plugin generates:
- overview documentation (or one combined full-detail document)
- per-workflow DOCX documents (when per-workflow mode is selected)
- diagrams and supporting artifacts
- warning details in appendices/worker output when partial-success conditions are encountered
First Commit Checklist
- Run:
dotnet build BNWorkflowDocumenter.sln - Run:
dotnet test tests/BN.WorkflowDoc.Core.Tests/BN.WorkflowDoc.Core.Tests.csproj - Run:
dotnet test tests/BN.WorkflowDoc.Wpf.Tests/BN.WorkflowDoc.Wpf.Tests.csproj - Launch the desktop app once:
dotnet run --project src/BN.WorkflowDoc.Wpf - Verify generated outputs for one sample ZIP: workflow DOCX files,
overview.docx,diagrams/, andworkflow-step-inventory.csv - Confirm docs are current:
README.md,docs/architecture.md,docs/run-modes.md,docs/release-checklist.md
Architecture Docs
- docs/architecture.md
- docs/run-modes.md
Extension Points
IWorkflowDefinitionParserIWorkflowDocumentBuilderIOverviewDocumentBuilderIDiagramRendererIWorkflowAnalysisEngineIDependencyGraphBuilderIDependencyGraphDiagramMapperIWorkflowDocumentationPipelineIPortfolioDocumentationPipeline
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.