system.mes.resetScheduleStatus

Sepasoft MES Module Suite

system.mes.resetScheduleStatus(operationsRequestUUID)

Reset the state of the operation request, based on the operationsRequestUUID parameter, to AUTO_PENDING. If an error occurred during automatic start of a operation request, this script function allows it to be reset so that another automatic attempt can be done. 

Syntax

system.mes.resetScheduleStatus(operationsRequestUUID)

  • Parameters

String operationsRequestUUID - The UUID of the operations request to reset.

  • Returns

Nothing

  • Scope

All

Code Example

Python
#The following is a code snippet to reset the status of a schedule.
system.mes.resetScheduleStatus('5546bd58-ea2a-4acd-b9d3-feb5de7e2085')

Sepasoft MES Module Suite