ModelRunCompleted.dss
This script will be called after an ITP/OnLine model has run and the result document has been written to its destination. By default, this script does nothing. You can add custom functionality to this script e.g., passing the file name of the produced document back to a calling application.
Parameters
The script is called with the following parameters:
- Document, the file path of the produced document. This parameter is empty when the document is not stored on the server (res_srv=N on ITP/OnLine).
- MetaData, the file path of the model run XML metadata. For more information on model run XML metadata, refer to the ITP/Server Manual chapter Integrating.
- Environment, the environment that was used to produce the document.
- Model, the model that produced the document.
- Format, the output format that was requested.
- UserID, the user name of the browsing user.
- ApplicationID, the name of the ITP/OnLine application.
- ProcessParams, the content of the res_proc_params that was passed to the runmodel call (if any).