ModelRunCompleted.dss

This script is called after an KCM ComposerUI Master Template is run and the result document is written to its folder. By default, this script does nothing. You can add custom functionality to this script. For example, you can pass 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 KCM ComposerUI).

  • MetaData: The file path of the Master Template run XML metadata. For more information on Master Template run XML metadata, see the "Integration" chapter in the KCM Core Developer's Guide.

  • Environment: The environment to produce the document.

  • Master Template: The Master Template to produce the document.

  • Format: The requested output format.

  • UserID: The user name of the browsing user.

  • ApplicationID: The name of the KCM ComposerUI application.

  • ProcessParams: The content of the res_proc_params that is passed to the runmodel call if any.