Skip to main content

system.mes.operation.getOperationStatus

Description

Retrieves the status of an Operations object by its ID.

Syntax

system.mes.operation.getOperationStatus(operationId)

Parameters

ParameterTypeDescription
operationIdString (ULID)The ID of the operation to retrieve.

Returns

Returns the status of the operation.

Code Examples

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

# Output the operation status
print(operations_status)