n8n/packages/cli/src/workflows
Jaakko Husso 3a13139f78
feat(core): Change workflow deletions to soft deletes (#14894)
Adds soft‑deletion support for workflows through a new boolean column `isArchived`.

When a workflow is archived we now set `isArchived` flag to true and the workflows
stays in the database and is omitted from the default workflow listing query.

Archived workflows can be viewed in read-only mode, but they cannot be activated.

Archived workflows are still available by ID and can be invoked as sub-executions,
so existing Execute Workflow nodes continue to work. Execution engine doesn't
care about isArchived flag.

Users can restore workflows via Unarchive action at the UI.
2025-05-06 17:48:24 +03:00
..
__tests__ feat(core): Change workflow deletions to soft deletes (#14894) 2025-05-06 17:48:24 +03:00
workflow-history.ee refactor(core): Move final batch of entities to @n8n/db (#15061) 2025-05-02 17:46:05 +02:00
workflow-execution.service.ts refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
workflow-finder.service.ts refactor(core): Move more code into @n8n/permissions. Add aditional tests and docs (no-changelog) (#15062) 2025-05-06 15:11:05 +02:00
workflow-sharing.service.ts refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
workflow-static-data.service.ts refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389) 2025-01-06 10:21:24 +01:00
workflow.formatter.ts refactor(core): Use IWorkflowBase over WorkflowEntity in most places (#13225) 2025-02-13 10:54:11 +02:00
workflow.request.ts feat(core): Change workflow deletions to soft deletes (#14894) 2025-05-06 17:48:24 +03:00
workflow.service.ee.ts refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
workflow.service.ts feat(core): Change workflow deletions to soft deletes (#14894) 2025-05-06 17:48:24 +03:00
workflows.controller.ts feat(core): Change workflow deletions to soft deletes (#14894) 2025-05-06 17:48:24 +03:00