sndev.io / docs

convert-workflow

Convert a legacy workflow to a flow manifest.

The convert-workflow command reads a legacy ServiceNow Workflow by sys_id and generates an equivalent Flow Designer manifest. Use it to migrate from the legacy Workflow Editor to Flow Designer.
sn convert-workflow <workflow_id>

Convert a legacy workflow to a flow manifest.

Arguments

NameRequiredDescription
workflow_idYessys_id of the legacy workflow (wf_workflow table).

Examples

sn convert-workflow abc123
Converting workflow: Change Request Approval
Found 6 activities
Mapped 5 → flow actions (1 manual review needed)
Generated manifest.ts
Not all legacy workflow activities have direct Flow Designer equivalents. Review the generated manifest and check any activities flagged for manual review.