Adjusting the optimization level of the JavaScript engine

Infor Process Automation uses a JavaScript engine for most of its processes. You can adjust the optimization level of the JavaScript engine to improve the performance of IPA by setting up a Configuration Parameter record.

  1. In Infor Rich Client or Process Server Administrator, select data area GEN.
  2. Select Process Server Administrator > Configuration > Configuration Parameters.
  3. Create a Configuration Parameter record with these values:
    Field Value
    Tenant Id ALL
    Data Area ALL
    Parameter Category JS
    Parameter Name Compile
    Parameter Type Numeric
    Parameter Value <Any number from -1 to 9>
    Note: 

    The default value is -1, which runs JavaScript in interpreted mode. This is the default setting because it performs the best under most, if not all, customer scenarios. Use 0 to 9 only if Infor Process Automation Support requests it.

    Most customers should not have this record at all so that it can correctly default to -1.