Appearance
OperationState
Type: Object
An operation within a job
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| actualCompletionAt | ISO8601 | Actual completion time (ISO8601) | ||
| actualStartAt | ISO8601 | Actual start time (ISO8601) | ||
| capabilityId | CapabilityID | Preferred capability (id) for scheduling | ||
| component | ComponentState | Parent component. Requires component:read permission. | ||
| componentGroup | ComponentGroupState | Parent component group. Requires componentGroup:read permission. | ||
| componentGroupId | ComponentGroupID | Associated component group ID | ||
| componentId | ComponentID | Associated component ID | ||
| createdAt | ISO8601! | Creation timestamp (ISO8601) | ||
| customKind | String | Custom operation type name (when kind is custom) | ||
| deadline | ISO8601 | Deadline (ISO8601) | ||
| expectedDuration | Int | Expected duration in seconds | ||
| externalId | String | External system ID | ||
| id | OperationID! | Unique identifier | ||
| items | [OperationItemState!]! | Physical work units (items) within this operation. Requires operation:read permission. | ||
| job | JobState | Parent job. Requires job:read permission. | ||
| jobId | JobID! | Parent job ID | ||
| kind | OperationKind! | Operation type | ||
| metadata | JSONMap | Additional metadata as JSON object | ||
| milestone | MilestoneState | Associated milestone. Requires milestone:read permission. | ||
| milestoneId | MilestoneID | Associated milestone ID | ||
| name | String! | Operation name | ||
| outsourcedLeadTimeDays | Int | Expected lead time in calendar days for outsourced operations | ||
| outsourcedPurchaseOrderId | PurchaseOrderID | Purchase order covering this outsourced operation | ||
| outsourcedSupplierId | SupplierID | Supplier this operation is subcontracted to (nil = in-house) | ||
| parameters | JSON | Kind-specific production parameters (JSON). Schema varies by kind — use getOperationParameterSchema to retrieve the JSON Schema for the target kind. | ||
| productionQuantity | Int | Production quantity | ||
| remarks | String | Notes and remarks | ||
| requestedWorkCenter | WorkCenterState | Requested work center. Requires workCenter:read permission. | ||
| requestedWorkCenterId | WorkCenterID | Preferred work center for scheduling | ||
| requiredResourceType | String | Type of resource required | ||
| scheduledCompletionAt | ISO8601 | Scheduled completion time (ISO8601) | ||
| scheduledStartAt | ISO8601 | Scheduled start time (ISO8601) | ||
| sortOrder | Int! | Sort order within the job | ||
| status | OperationStatus! | Current operation status | ||
| updatedAt | ISO8601! | Last update timestamp (ISO8601) |