Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagegroovy
model.startJobTriggerCalculation(
        "cregistry.pricefx.eu/engineering/pricefx-optimization-engine", // name of the engine image
        "latest", // tag of the engine image
        api.jsonEncode([
              // parameters required by the engine image
        ]),
        "oe"  // a name for the job, unique for this calculation and step
)

Parameters Size Limitation

Due to the way parameters are passed to the engine, its size is limited by maximum length of the environment variable in the OS. Job Trigger won't accept parameters longer than 131000 bytes by default, and will throw an exception. To pass large amount of data into calculation, store it in a table and fetch them in a script. (see: ARG_MAX limit)

Calculation Process Sequence

...