Develop > Tailoring > Advanced functions > Scripting > Execute a script from Format Control

Execute a script from Format Control

  1. Click Tailoring > Format Control.
  2. In the Name field, type the name of the Format Control record you want to edit. For example, type apm.quick.
  3. Click Search.
  4. Click Subroutines, or click Subroutines from the Options menu.
  5. In the Application Name field, type script.execute and enter the following values:

    NameValue
    file$file
    nameName of the first script panel in the flow

  6. In the Before field, type true or type an expression for a condition that evaluates to true to execute the script before any other processing takes place.
  7. In the Dis field (Display field), type true or type an expression for a condition that evaluates to true to execute the script before apm.quick opens.
  8. Click Save to save your changes.
  9. Click OK.

Related concepts

Scripting
Executing scripts
Executing a script from Format Control