Environment Cleanup App

Overview

Appian administrators can configure this application to systematically delete unneeded versions of Appian objects to free up memory in the environment on an ongoing basis.

Key Features & Functionality

This application provides a way to manage your Appian object cleanup strategy via a front end tool. These settings can be customized per Appian application to give developers complete control of what is deleted.

The following objects can be managed:

  • Expression Rules
  • SAIL Interfaces
  • Constants
  • Decision Objects
  • Process Models
  • Process Instances
  • Documents
  • Database Data
Anonymous
  • If oldestAge is not provided, it is coded to respect only the keepVersions parameter. Can you please add the object you took a screenshot of and the folder that it resides in to a package and export this from your environment? Then please open the export log and respond back with the text under the "Success" section.

  • Hi Shawn,

    Thanks for reply, for testing purpose  giving below details :



    Keep Versions : 5

    Oldest Age : null

    Interface version history screen 

      


    It will be help full , if you can share information on oldest Age logic or is there any condition on object needs to be this many days older and so. ?

  • Hello,

    Can you please provide the following:

    1) The settings you are passing into the smart service (e.g. rule folder id, keep versions, oldest age)

    2) Provide a screenshot of the interface version history for the interface you expected versions to be deleted from 

  • Hi Team,

    We were using this plugin for one of the requirement on object versions cleanup , we were facing issues with interface version removal.

    No object is removing on successfully completion of node.

    we are currently on 22.4 Appian version . please advise or help 

  • Thanks for responding with the error details. I just imported this into a fresh 22.3 environment and I was able to import everything successfully. The process models were published under the en_US language so please ensure that this is listed as an enabled language in the Internationalization section of the Admin Console.

  • Thanks Shawn.

    Somehow I received the below error while importing the application. Highly appreciate if anyone know the root cause.

    Thanks

  • Thanks, Shawn, I noticed the below error while importing the applications though the plugins are available in the system. Appreciate your help if anyone managed to resolve this problem

    processModel 0002e5d0-062e-8000-e123-ab4d98ab4d98 "{en_US=CLN Cleanup Documents}": An error occurred while creating processModel [uuid=0002e5d0-062e-8000-e123-ab4d98ab4d98]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0002e348-ee96-8000-2e07-014d98014d98 "{en_US=CLN Delete PM Versions}": An error occurred while creating processModel [uuid=0002e348-ee96-8000-2e07-014d98014d98]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0007e456-c65e-8000-f92f-7f0000014e7a "{en_US=CLN Delete Rule and Constant Versions}": An error occurred while creating processModel [uuid=0007e456-c65e-8000-f92f-7f0000014e7a]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0007e36a-edfc-8000-f92f-7f0000014e7a "{en_US=CLN Delete Process Instances}": An error occurred while creating processModel [uuid=0007e36a-edfc-8000-f92f-7f0000014e7a]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0002e5d0-0a1d-8000-e13c-ab4d98ab4d98 "{en_US=CLN Cleanup Database}": An error occurred while creating processModel [uuid=0002e5d0-0a1d-8000-e13c-ab4d98ab4d98]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)

  • Hi is this plugin/application supported for the latest versions like 21.x and 22.x?

  • Hello,

    What version of content tools are you using? Can you provide the parameters that you are passing into the smart service and the version history of a rule/constant that you would expect to be deleted?