Prepare model run

Preparation of a model run consists of the following steps:

  1. Create a new session for the model run.
  2. Optionally, store files in the session. This could for example be an XML-file holding the data based on which the model should be run.
  3. Set the parameters that define the ITP/OnLine model run.

ITP/Server offers a service for each of these steps. Additionally, it offers a service that combines these steps to a single call. Finally, it also offers a service to retrieve a file from a session. This functionality is available in ITP/Server 3.2.20 or higher.

It is also possible to extend the preparation of the model run so that custom information can be stored in the session. This can be done by creating a custom service, which stores additional key/value-pairs in the session, and calling this service as an additional step. This information will then be available from all scripts that run in the context of the session e.g., the exit point scripts.

Preparation of a model run results in a session identifier. This session identifier can be used to invoke the actual model run by opening the URL: http://[host]:[port]/itp/app/[application]/modelbegin.aspx?sessionid=[sessionid] (http://[host]:[port]/itp/app/[application]/modelbegin.jsp?sessionid=[sessionid]) from the BA Client. Refer to section Parameters (prepared model run) for more information.