Starting processes with initialization parameters from web services

Class MaintenanceToolsAPI defines a startBatchProcess method that accepts initialization parameter and that returns a ProcessID value:

function startBatchProcessWithArguments(processName : String, arguments : String[]) : ProcessID {
  return getDelegate().startBatchProcess( processName, arguments )
}

Use this method to start a batch process with initialization parameters, for example:

processID = maintenanceToolsAPI.startBatchProcessWithArguments("myCustomBatchProcess", args)

The typecode for the batch processing type must include the APIRunnable category in order to start your custom batch process with the MaintenanceToolsAPI web service.

See also