BN.WorkflowDoc.XrmToolBox
1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BN.WorkflowDoc.XrmToolBox --version 1.0.1
NuGet\Install-Package BN.WorkflowDoc.XrmToolBox -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BN.WorkflowDoc.XrmToolBox" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BN.WorkflowDoc.XrmToolBox" Version="1.0.1" />
<PackageReference Include="BN.WorkflowDoc.XrmToolBox" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BN.WorkflowDoc.XrmToolBox --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BN.WorkflowDoc.XrmToolBox, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BN.WorkflowDoc.XrmToolBox@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BN.WorkflowDoc.XrmToolBox&version=1.0.1
#tool nuget:?package=BN.WorkflowDoc.XrmToolBox&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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]
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
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.