The setOperatorStatus function is used to either force fail or force pass the operator.
Syntax
setOperatorStatus (operatorStatus, operationResult, reason)
Arguments
Specifies the state of the operator. This argument can take either success or failure values only.
Specifies the operation result. This argument overrides the operator result in the operator dataset.
Specifies the reason that overrides the operator reason in the operator dataset.
Return Value
No value returned (void).
Example
The following example performs a force success on the operator with an operation result of 1 and the reason as "force success".
setOperatorStatus("success",1,"force success")
|
Copyright © 2014 CA.
All rights reserved.
|
|