Managing Discovery Job Methods

activateJob

Activates the specified job.

See Code Samples.

Input

Parameter Comment
cmdbContext For details, see CmdbContext and the schema documentation for CmdbContext.
JobName The name of the job.

deactivateJob

Deactivates the specified job.

Input

Parameter Comment
cmdbContext For details, see CmdbContext and the schema documentation for CmdbContext.
JobName The name of the job.

dispatchAdHocJob

Dispatches a job on the probe ad hoc. The job must be active and contain the specified trigger CI.

Input

Parameter Comment
cmdbContext For details, see CmdbContext and the schema documentation for CmdbContext.
JobName The name of the job.
CIID The ID of the trigger CI.
ProbeName The name of the probe.
Timeout In milliseconds

getDiscoveryJobsNames

Returns the list of job names.

Input

Parameter Comment
cmdbContext For details, see CmdbContext and the schema documentation for CmdbContext.

Output

Parameter Comment
strList The list of job names.

isJobActive

Checks whether the job is active.

Input

Parameter Comment
cmdbContext For details, see CmdbContext and the schema documentation for CmdbContext.
JobName The name of the job to check.

Output

Parameter Comment
JobState True if the job is active.