Skip to main content

ActionStatus

Enumeration of valid action statuses.

Represents the lifecycle states of an Action, from initial creation through completion or cancellation. These statuses help track the progress of manufacturing operations and enable workflow management.

Values

ValueDescription
DRAFTInitial state when action is created but not yet ready for execution
REQUESTEDAction has been submitted for approval or scheduling
CONFIRMEDAction has been approved and scheduled for execution
IN_PROGRESSAction is currently being executed
COMPLETEDAction has been successfully finished
CANCELLEDAction was terminated before completion or rejected

Usage Example

from omm import ActionStatus

# Access enum value
value = ActionStatus.DRAFT

# Value comparison
if value == ActionStatus.DRAFT:
print(f'Value is DRAFT')