Safely removing unused columns identified via dependency checks in Appian

Certified Senior Developer

Hello all,


I have come across certain columns of different tables which are not being used in anyway. To validate  this, I have done the following :

Check for CDT dependencies Check for record type dependencies Search for usage of the field/column globally in the application

Based on the above, it appears that these fields are not being referenced by anything.

But prior to deleting the columns, I wanted to get your feedback regarding the following:

Does the above process ensure that the columns can be deleted without causing any issues ? Is there anything else that needs to be checked prior to deleting such columns (Process Models, integration etc.) ? What is the best way to delete such columns in Appian ? Am I supposed to deprecate these columns prior to their deletion ?

Thanks

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi  ,

    I strongly follow this approach, its just my opinion as per best practice, you can also follow this:

    Firstly, Check the dependencies in : 

    Process Models, Integrations, Database-level dependencies (SP,views,Triggers), Running Processes.

    Best way to delete:

    Step 1: Soft deprecate (recommended)

    • Stop using column in Appian
    • Remove from CDT + record type
    • Keep column in DB

    Step 2: Deploy & monitor

    • Watch logs
    • Check process failures
    • Validate integrations

    Step 3: Drop column in DB (if not dropped, you can use those fields in future, if needed)

    ALTER TABLE table_name DROP COLUMN column_name;

Reply
  • 0
    Certified Senior Developer

    Hi  ,

    I strongly follow this approach, its just my opinion as per best practice, you can also follow this:

    Firstly, Check the dependencies in : 

    Process Models, Integrations, Database-level dependencies (SP,views,Triggers), Running Processes.

    Best way to delete:

    Step 1: Soft deprecate (recommended)

    • Stop using column in Appian
    • Remove from CDT + record type
    • Keep column in DB

    Step 2: Deploy & monitor

    • Watch logs
    • Check process failures
    • Validate integrations

    Step 3: Drop column in DB (if not dropped, you can use those fields in future, if needed)

    ALTER TABLE table_name DROP COLUMN column_name;

Children
No Data