ProcessChangeBatchStatus
Changes the status of one or more batches.
Member of namespace
Maintenance ManagerSyntax
bool ProcessChangeBatchStatus (string newStatus)
Parameters
- newStatus
- Type: string
Parameters
newStatus: The new batch status: aborted, cancelled, finished, hold, job done, pending, running. Smart parameters are supported.Returns
True if the batch status is successfully changed. Otherwise, False.Level
Batch level.Details
Using the results from a previous query performed by Maintenance Manager actions, the selected batches have their status attribute changed.The database connection is closed by this action.
- Example:
QuerySetStation("1") QuerySetJobID("!Demo Job") ProcessRunSqlQuery("") ProcessChangeBatchStatus("hold")