> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# adopCleanup

> Removes obsolete code and data from old editions. With EBS 12.2, manual changes can be applied using online patching. FlexDeploy supports both traditi

Removes obsolete code and data from old editions. With EBS 12.2, manual changes can be applied using online patching. FlexDeploy supports both traditional and online patching as a way of deploying your customizations and personalizations. Use this operation after the adopFinalize operation.

Runs `adop phase=cleanup cleanup_mode=standard` command.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>EBS Source Script</td><td>`FDEBS_SOURCE_SCRIPT`</td><td>Yes</td><td>Source Script with full path. \
e.g. `/u1/apps/apps_st/appl/APPSorcl_ebs01.env`If you would like to apply changes directly to run edition for EBS R 12.2+, specify the run param after the script. By default it connects to patch edition when performing the deploy operation. All other operations are sourced from run by default.e.g. `/u1/apps/apps_st/appl/APPSorcl_ebs01.env` *run*</td></tr><tr><td>EBS Database Password</td><td>`FDEBS_DB_PASSWORD`</td><td>Yes</td><td>DB User to connect with privileges.\
eg: Apps.\
Make sure you have permission to execute sqls with this user for all schemas.</td></tr><tr><td>System Database Password</td><td>`FDEBS_SYSTEM_PASSWORD`</td><td>Yes</td><td>SYSTEM Password for AD Online Patching.</td></tr><tr><td>Weblogic Admin Password</td><td>`FDWLS_ADMIN_PASSWORD`</td><td>Yes</td><td>The password for the WebLogic admin user.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Cleanup Option</td><td>`FDEBS_INP_CLEANUP_OPTION`</td><td>No</td><td>Option for Cleanup phase. Default is standard. Other options are quick and full.</td></tr><tr><td>ADOP Additional Parameters</td><td>`FDEBS_INP_ADOP_ADDITIONAL_PARAMS`</td><td>No</td><td>Pass additional parameters to the adop command as key=value pairs with each pair in a new line. Parameters already available as explicit inputs (cleanup\_mode for adopCleanup) will be ignored.e.g. analytics=yes      allowcoredump=yes      patchtop=/custom/patch/toploglevel=statementNote: loglevel allowed values (statement,procedure,event,warning,error,unexpected)</td></tr><tr><td>ADOP Additional Prompt Values</td><td>`FDEBS_INP_ADDITIONAL_PROMPT_VALUES`</td><td>No</td><td>Pass additional values to prompts that may show up for ADOP phase operations. Each unique prompt value must be separated by a new line.e.g. Y      N</td></tr></tbody></table>

# Artifacts

This operation doesn't consume or produce any artifacts.

# Endpoint Selection

This operation will select all available App Tier (EBS Web Server/EBS Forms Service/ EBS MWA Server) resource type endpoints associated to the Target.

# Endpoint Execution

This operation will run randomly on any App Tier (EBS Web Server/EBS Forms Service/ EBS MWA Server) resource type endpoint.

# Special Considerations

See [Supported EBS Object Types](https://flexagon.atlassian.net/wiki/display/PD/Supported+EBS+Object+Types) at the end of this document for supported objects and considerations.
