Initializing help system before first use

Mosel Execution Modes

Every app is assigned (and must implement behavior for) two standard execution modes: LOAD and RUN
They have constants associated with them in the model:
  • INSIGHT_MODE_LOAD
  • INSIGHT_MODE_RUN
A model can also define any number of additional custom execution modes-they can offer your app two additional forms of control:
  • Executing different model code paths based on the execution mode selected by a user.
  • Routing different kinds of Xpress Insight jobs to different worker resources configured on the server. For example, you could have a model that performs small, fast jobs as well as large, slow jobs. Using custom execution modes, you can route the two different kinds of jobs to the worker resources best equipped to serve them.