Skip to main content
Version: V2 (Ignition 8.1)

system.mes.operation.getOperationStatus

Description​

Retrieves the status of an Operations object by its ID.

Permissions​

This method requires the OPERATION.READ.GET permission.

Syntax​

system.mes.operation.getOperationStatus(operationId)

Parameters​

ParameterTypeNullableDescription
operationIdString (ULID)FalseThe ID of the operation to retrieve.

Returns​

Returns the status of the operation.

Code Examples​

# Retrieve the status for the operation specified
operationsStatus = system.mes.operation.getOperationStatus('01JPBCPKSR-972W3V0Y-H00NNSKQ')

# Output the operation status
print(operationsStatus)