Workflow Authoring

Build a D365FO workflow — the workflow template, its document class, approvals and tasks, the submit menu item, and the generated event handlers. Invoke when the user asks to create an approval workflow, add a workflow to a table or form, or wire canSubmitToWorkflow.

49 stars 26 forksProductivity & Notes

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dynamics365ninja/d365fo-cli --skill workflow-authoring
Manual install
git clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/workflow-authoring ~/.claude/skills/workflow-authoring

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

> ⛔ **NEVER write X++ AOT XML files directly** via PowerShell, terminal file commands (`Set-Content`, `Out-File`, `New-Item`), editor write tools, or any raw text approach. The XML schema is proprietary. **ALWAYS use `d365fo generate …` commands** to produce correct AOT XML. If `d365fo` is unavailable in PATH, stop and ask the user to install it.

# Workflow authoring

## The object stack

```
AxWorkflowCategory          ← the module bucket the type is filed under
AxWorkflowTemplate          ← the AOT element ("workflow type" in the UI)
  ├── document class        ← extends WorkflowDocument: which fields are conditions
  ├── AxWorkflowApproval    ← an approval step
  ├── AxWorkflowTask        ← a task step
  └── event handler classes ← started / canceled / completed, per element
```

The template's `Category` names an `AxWorkflowCategory`, whose `<Module>` is a
`ModuleAxapta` value (`PurchaseOrder`, `Ledger`, `Basic` …) — that is how the
workflow configuration form groups types by module. Create the category before
the template when the module has none of yours:

```sh
d365fo generate workflow-category FmVehicleServiceCategory --module Basic \
  --label "@Fleet:VehicleWorkflows" --install-to FleetManagement
```

**The AOT folder is `AxWorkflowTemplate`.** There is no `AxWorkflowType` folder on
any AOS — a name that looks right, matches the UI wording, and resolves to
nothing.

Only two X++ base classes are involved: **`WorkflowDocument`** and
Read the full skill on GitHub

Details

Skill name
workflow-authoring
Path
skills/anthropic/workflow-authoring/SKILL.md
Repo updated
16 November 2026

FAQ

What does the Workflow Authoring skill do?

Build a D365FO workflow — the workflow template, its document class, approvals and tasks, the submit menu item, and the generated event handlers. Invoke when the user asks to create an approval workflow, add a workflow to a table or form, or wire canSubmitToWorkflow.

How do I install the Workflow Authoring skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill workflow-authoring. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Workflow Authoring popular?

It lives in dynamics365ninja/d365fo-cli, which has 49 GitHub stars and 26 forks.

Related skills

Analytics and Er

49

dynamics365ninja/d365fo-cli

Model the D365FO analytical and document-generation surfaces — aggregate measurements and the entity store, tiles/cues and KPIs, and Electronic Reporting (ER). Invoke when the user asks about a workspace tile, a KPI, an aggregate measurement, the entity store, Power BI content, or running/binding an ER format.

Data & Analytics26

Barcode Scanning

49

dynamics365ninja/d365fo-cli

Barcodes and scanner input in D365FO — printing vs scanning are unrelated code paths, GS1-128 application identifiers, item-barcode resolution, and where the platform parses a scan for you. Invoke when the user mentions barcodes, GS1, GTIN, SSCC, scanning, scanners, item barcodes, or barcode setup.

AI, LLMs & Agents26

Build Error Triage

49

dynamics365ninja/d365fo-cli

Turn a D365FO compiler, best-practice, or runtime error into the specific fix it calls for. Invoke when the user pastes a build log, an xppc message, a BP violation, or an infolog stack trace and asks what it means or how to fix it.

AI, LLMs & Agents26

Working Method

49

toffyui/ccteams

Frontier-grade engineering working method — goal compression, ground truth before opinion, hypothesis discipline, execution as evidence, honest reporting, exit checklist. Read in full at the start of any non-trivial task; inject the digest into every delegation prompt.

Productivity & Notes

Review and Checkpoint Workflow

49

dynamics365ninja/d365fo-cli

Use Git as the review layer for AI-driven D365FO edits, and use `d365fo review diff` for a shallow BP-style probe (missing EDT/Label, hard-coded strings, dynamic query) over changed AxTable/AxClass XML on top of the raw byte diff. Invoke whenever the user is about to start a non-trivial change, before "accepting" AI edits, or wants a quick heuristic pass over what changed.

Productivity & Notes26

Comment Funnel

23

Upload-Post/upload-post-comment-funnel

Build Instagram comment-to-DM funnels via Upload-Post API. Use when the user wants to automatically send DMs to people who comment specific keywords on their Instagram posts, set up lead capture funnels from comments, automate Instagram DM outreach to commenters, or monitor post comments and reply privately. Also triggers when the user mentions comment automation, DM funnels, lead magnets from comments, or keyword-triggered DMs.

Productivity & Notes

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.