SubmitEx

The job SubmitEx is an extension to the job Submit. It allows for communication between the caller and the KCM Core script. It allows the script to use Progress() to log messages to the caller, and it allows exchange_data() calls to get and set key/value pairs from/to the client. The job SubmitEx takes the same parameters as the Submit job plus an array with key/value pairs as an extra parameter.

The job SubmitEx takes the following parameters:

  • Service

    This is the name of the Service the job is submitted to such as RunMdl.

  • Parameters

    The parameters for the job. They are passed as a string to the Web Services interface.

  • Key/value pairs

    Array of key/value pairs that you can collect for the function exchange_data.

  • Input files

    Input files to send files to KCM Core that can be collected with the ReceiveFile command. The content of the file as well as an ID are passed. KCM Core can use this ID to collect the file.