ecl-logo Documentation

DeactivateJob

DeactivateJob[jobs]deactivatedJobs

sets the Status of one or more jobs to Inactive, and returns a list of the successfully modified deactivatedJobs.

Details

    Input
    Output

Examples

Basic Examples  (2)

Deactivate a single Manifold job by changing its Status field to Inactive, and return the deactivated job's object reference:

Deactivate multiple Manifold jobs by changing their Status fields to Inactive, and return all inactivated objects:

Messages  (2)

JobNotFound  (1)

Warning is shown if one or more input objects cannot be found in the database. This can occur if the object does not exist, or if you do not have permissions to view/modify the input object:

NoStatusChange  (1)

Warning is shown if one or more input jobs already had a Status of Inactive. These jobs will remain unchanged: