Fix Script form

Use the Fix Script form to update an application or data after installing or updating it.

Field Description
Name Enter a unique, descriptive name for the fix script.
Active Select the check box to enable the fix script.
Unloadable Select the check box to create Customer Update [sys_update_xml] records when the fix script runs. Clear the check box to run upgrades without creating these records (default).

Unloadable is enforced when you test the fix script.

Run once Select the check box to run the script only one time (default). The fix script is ignored for subsequent upgrades.

Clear the check box allow the script to run every time the application is installed or upgraded.

This option is enforced by the following mechanism.
  • When a fix script is processed, a corresponding record is added to the sys_update table.
  • The upgrade process automatically skips fix scripts that are flagged as Run once and have an entry in the sys_update table.

Run once is not enforced when you test the fix script.

Flush cache Select the check box to require a cache flush after the application is installed or upgraded. Certain system changes—such as changes to the dictionary, client scripts, UI policy, or system properties—require a cache flush to take effect.

If the check box is selected for at least one of the fix scripts that are run, the cache is flushed when the installation or upgrade is complete. If the check box is not selected for any of the fix scripts that are run, then the cache is not flushed.

Flush cache is enforced when you test the fix script.

Before Select the check box to run the fix script before installing or upgrading the application. Clear the check box to run the fix script after (default).
Description Enter a description of the fix script.
Script Enter the code for the fix script.