Skip to main content

system.mes.operation.startOperation

Description

Starts an Operations object.

Syntax

system.mes.operation.startOperation(operationId, productionOrderIdOrName, startDate)
system.mes.operation.startOperation(operationId)
system.mes.operation.startOperation(operationId, productionOrderIdOrName)

Parameters

ParameterTypeDescription
operationIdString (ULID)The ID of the operation to start.
productionOrderIdOrNameStringThe ID or name of the production order associated with the operation.
startDateInstantThe start date of the operation.

Returns

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

Example Usage

# Start the operation
started_operation_result = system.mes.operation.startOperation('01JPBCPKSR-972W3V0Y-H00NNSKQ')

# Output the operation execution result of the started operation
print(started_operation_result)