application.xml
application.xml is an optional configuration file used in SuiteApp (SDF) projects to define lifecycle hooks. This file allows SuiteApp developers to configure actions that should run during specific lifecycle events, such as before uninstallation.
application.xml is not supported in Account Customization projects.
File Location
Place the application.xml file at the root of your SuiteApp project, alongside manifest.xml and deploy.xml.
File Structure
The application.xml file should contain a top-level <application> element with a <hooks> section. Each hook is defined as a child element in your <hooks> section (for example, <beforeUndeploy>). Hooks can contain one or more <script> entries.
Your application.xml file should look like the following:
<application>
<hooks>
<!-- Hook definitions go here -->
</hooks>
</application>