The Unused Entities page atDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/fw/settings/unused-entities lists orphan candidate entities — forms, automation rules, and decision tables that appear to have no active references in the dependency graph. Users with the maintain permission can bulk archive selected entities.
Overview
The Unused Entities page usesuseOrphanReport to fetch candidate entities for the active organization, filtered optionally by entity type. Each entity is shown in a table with its display name, type badge, status, and creation date. Users with fw.dependencies.maintain can select entities and bulk archive them.
Archive operations are performed directly against the database:
- Forms are soft-deleted (
deleted_attimestamp). - Automation rules are set to
draftstatus. - Decision tables are deactivated (
is_active: false).
Who it’s for
Requiresfw.dependencies.view permission, enforced by RequirePermission in src/routes/fw.tsx.
The archive action additionally requires fw.dependencies.maintain permission (checked via useHasPermission). Users without this permission see the list but not the checkboxes or Archive button.
Before you start
- You must have the
fw.dependencies.viewpermission to access this page. - Review the entity list carefully before archiving. Archiving affects the entity’s availability in workflows and submissions.
- Confirm with SME whether archiving is reversible before bulk-archiving large sets.
Steps
Reviewing orphan candidates:- Navigate to
/fw/settings/unused-entities. - Use the Type filter to narrow results to a specific entity type (Forms, Automations, Decision Tables).
- Review the table: Name, Type, Status, Created date.
fw.dependencies.maintain):
- Check one or more rows using the checkboxes. Use the header checkbox to select all.
- Select Archive (N) in the toolbar.
- A confirmation dialog shows the count. Select Archive to confirm.
- The selected entities are archived and the list refreshes.
Key concepts
- Orphan candidate — An entity identified as having no active references in the dependency graph. SME: confirm detection methodology.
- Soft delete (forms) — Sets
deleted_atonfw_forms; the record remains in the database. - Deactivation (decision tables) — Sets
is_active: falseonfw_decision_tables. - Draft revert (automation rules) — Sets
status: 'draft'onfw_automation_rules. - Dependency view permission —
fw.dependencies.viewgates page access;fw.dependencies.maintaingates archive actions.
Related
Forms & Workflow
Forms & Workflow core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/fw.tsx
- src/cores/fw/pages/UnusedEntitiesPage.tsx
- src/cores/fw/hooks/useOrphanReport.ts
- src/cores/fw/types/dependencyGraph.ts