Skip to main content

system.mes.operation.pauseOperation

Description

Pauses an Operations object.

Syntax

system.mes.operation.pauseOperation(operationId)
system.mes.operation.pauseOperation(locationId, operationName)

Parameters

ParameterTypeDescription
operationIdString (ULID)The ID of the operation to pause.
ParameterTypeDescription
locationIdString (ULID)The ID of the location associated with the operation.
operationNameInstantThe name of the operation.

Returns

Returns a JSON object of the operation execution result for the suspension of the operation.

Example Usage

# Pause the operation
paused_operation_result = system.mes.operation.pauseOperation('01JPBCPKSR-972W3V0Y-H00NNSKQ')

# Output the operation execution result of the paused operation
print(paused_operation_result)