Change Orders
Change Orders (COs) are the backbone of engineering change management in PLM systems. They provide a structured, auditable process for proposing, reviewing, and implementing modifications to your components. Whether you're updating a component specification, revising a BOM, or making design changes, change orders ensure proper review, approval, and traceability.
Overview
What Are Change Orders?
A Change Order is a formal request to modify one or more components in your library. It captures:
What's changing: The affected components and proposed modifications
Why it's changing: Description and justification for the change
Who approves it: Reviewers assigned to evaluate the change
The outcome: Whether the change was approved, rejected, or withdrawn
Change Order Lifecycle
Change orders follow a defined lifecycle:
MANUAL_CLOSE
DRAFT ──────► OPEN ──────────────► RESOLVED ──────► CLOSED
▲ │ │ ▲
│ │ AUTO_CLOSE │ │
│ └─────────────────────┼───────────────┘
│ │
└───────────────────────────────────┘
reset (from OPEN or RESOLVED)DRAFT
Initial state. The CO can be modified freely—add items, assign reviewers, fill in details.
OPEN
Submitted for review. Reviewers evaluate and make decisions.
RESOLVED
Review complete, waiting to be closed by hand. Check the resolution field for the outcome.
CLOSED
Final state. The change order is complete.
What happens when a change order is approved, rejected, or withdrawn is set by its router options, one per outcome:
Under AUTO_CLOSE the change order skips RESOLVED entirely. The template sets the defaults and which options are allowed (allowableApprovalRouterOptions, allowableRejectionRouterOptions, allowableWithdrawalRouterOptions); while the change order is in DRAFT you can pick among the allowed options with updateResolutionRouterOption. Read the three router fields before you decide whether to call close or reset.
Resolution Types
Once review ends, the resolution field records the outcome, whether the change order is RESOLVED or CLOSED:
PENDING
Still awaiting reviewer decisions
APPROVED
All required approvals obtained
REJECTED
Rejected by one or more reviewers
WITHDRAWN
The change order was withdrawn while OPEN (requires change_orders.withdraw)
Change Order Types
Every change order carries a type (coType), a classification drawn from the industry-standard CoType enum. It is returned on every change order as the non-null coType field. The type is chosen at creation, but stays editable while the change order is in DRAFT — see Switching Type and Template in Draft. Once the change order is submitted for review, the type is fixed.
ECO
Engineering Change Order
MCO
Manufacturing Change Order
DCO
Documentation Change Order
ECR
Engineering Change Request
MCR
Manufacturing Change Request
DCR
Documentation Change Request
ECN
Engineering Change Notice
MCN
Manufacturing Change Notice
DCN
Documentation Change Notice
For most types the value is classification metadata only — it records intent and drives reporting, but does not change how the change order behaves.
How the type is chosen at creation:
If you pass an explicit
coTypein the create input, that value is used.Otherwise, when creating from a template, the template's
defaultCoTypeis used.Otherwise (a change order created from an inline
configwith nocoType), the type defaults toECO.
When a template is used, the resolved type must be one of the template's allowed coTypes — otherwise the request fails with CO_TYPE_NOT_ALLOWED. Templates declare their allowed types in the workflow YAML; see Change Order Workflows → Declaring Allowed Change Order Types.
The same three rules and the same coTypes check apply when you switch the type or the template on a draft change order.
Required Headers
All change order operations require these headers:
x-api-key
Yes
Your API authentication token
x-organization
Yes
Organization slug (e.g., @acme-corp)
x-library
Yes
Library slug (e.g., @acme-corp/main-library)
Content-Type
Yes
Must be application/json
Querying Change Orders
List Change Orders
Query change orders with optional filtering and pagination:
Filter Options
ids
[ID!]
Filter by specific UUIDs
sequentialIds
[Int!]
Filter by sequential IDs, as plain integers (e.g., [1, 2])
status
[ChangeOrderStatus!]
Filter by status (DRAFT, OPEN, RESOLVED, CLOSED)
resolution
[ChangeOrderResolution!]
Filter by resolution (PENDING, APPROVED, REJECTED, WITHDRAWN)
stageId
ID
Filter by current stage
To find change orders by reviewer, use advancedFilter. reviewer matches a user on any stage; awaitingReviewer matches only change orders whose current stage is still waiting on that user's decision:
Getting Available Templates
Before creating a change order, query the available templates for your library:
By default getTemplates returns only enabled templates — the ones a change order can be created from. Pass includeDisabled: true to also return templates that have been disabled; each template's isEnabled field tells you which is which:
Templates define the workflow structure including:
Custom fields to capture change information
Approval stages and their decision methods
Default reviewers and notification settings
The change order types the template allows (
coTypes) and its default (defaultCoType)
The same query supplies the configId you pass to submitDraft when switching a draft change order's template.
See Change Order Workflows for creating custom templates.
Disabling a template
A template can be disabled without deleting it — useful for templates that are still being drafted, are only used at certain times of year, or are kept as a historical record. Toggle it with setTemplateEnabled:
Pass enabled: true to the same mutation to re-enable it.
A disabled template:
Cannot be used for new change orders, and cannot be switched to with
submitDraft(configId) — see Switching Type and Template in Draft.Is omitted from
getTemplatesunless you passincludeDisabled: true.Stays visible and editable in library settings, and keeps its history — it is not archived.
Does not affect existing change orders that were created from it. They keep their stages, reviewers, and content fields and continue through their workflow as normal.
Creating a Change Order
Create a new change order in DRAFT status. Every change order is built from a workflow: pass exactly one of configId (the id of a template from getTemplates) or config (an inline workflow configuration). Passing neither fails with TEMPLATE_OR_CONFIG_REQUIRED.
The coType input is optional. When omitted, the server resolves the type from the template's defaultCoType, falling back to ECO for change orders created from an inline config. If you pass a coType that the template does not allow, creation fails with CO_TYPE_NOT_ALLOWED. See Change Order Types for the full list of values and the behavior of DCO.
Neither choice is permanent: while the change order stays in DRAFT you can switch its type and its template with submitDraft — see Switching Type and Template in Draft.
Example Response
Adding Items to a Change Order
Add components to the change order to indicate what will be modified:
Each entry in items is a component id and the version you are changing. A single call accepts up to 1,000 items; larger batches fail with TOO_MANY_ITEMS, so split them across several calls.
Every item carries isAutoAdded: Boolean!. It is false for items you added explicitly, and true for documents Duro added for you — see Auto-Added Documents. Each item also carries lastReleasedStatus, the component's status at its most recent release (null if it has never been released), so a review can show the status change alongside the proposed one.
Setting Proposed Changes
You can specify what each component will become after the change order is approved. Pass componentUpdates to submitDraft while the change order is in DRAFT; id is the component's ID:
ComponentUpdateItemInput field
Type
Description
id
ID!
The component to update. It must already be an item on the change order.
statusId
ID
The status the component moves to.
revisionValue
String
An explicit revision, such as 2.A.
changeType
ChangeType
Let Duro bump the revision by kind of change: MAJOR, MINOR, PATCH, or DOCUMENTATION.
noBump
Boolean
true keeps a released component's revision unchanged on approval.
Removing Items
Items can be removed only while the change order is in DRAFT. itemIds are component IDs; an ID that is not on the change order fails with ITEMS_NOT_FOUND.
Auto-Added Documents
When you add a component to a change order, the documents linked to that component are added to the change order as items too. These items are flagged with isAutoAdded: true, so you can tell them apart from the items you added yourself — select isAutoAdded wherever you read ChangeOrderItem.
While the change order is in DRAFT, its auto-added items track the component's document links live:
Linking a document to a component that is already an item on a draft change order adds that document to the change order.
Unlinking a document removes it again — unless another component still on the change order links the same document, in which case it stays.
Removing a component item takes its auto-added documents with it, subject to the same rule: a document linked by another remaining item is kept.
Auto-adding and auto-sweeping a document does not emit a components.updated webhook for that document, because the document itself did not change. Every other path — editing a component's fields, linking a document from the component itself, status changes — still emits as before.
Checking Whether Auto-Add Is Enabled
Automatic addition of component-linked documents is enabled per library. Before staging components, check the library named in your x-library header with documentAutoAddEnabled:
documentAutoAddEnabled is a non-null Boolean on ChangeOrdersQueryOperations and takes no arguments. It reports the setting of the library in the request headers, so query it once per library rather than once per change order.
Value
What addItems does with a component's linked documents
true
Adds them as items with isAutoAdded: true, and tracks link changes live while the change order is in DRAFT as described above.
false
Adds only the components you passed. No document items are created, and isAutoAdded is false on every item.
Reading a Component's Documents on a Change Order
A change order's item summaries report how many documents each component carries, without returning the documents themselves. Read them with getChangeOrderItemSummaries; ChangeOrderItemSummary.documentCount is a non-null Int — 0 when the component has no associated documents:
Fetch the documents behind that count one component at a time with getChangeOrderItemDocuments:
Documents are items, so the query returns ChangeOrderItemSummary — the same type as the change order's other items. It returns an empty array, not an error, when the component has no documents on that change order.
Both the field and the query require components.read. Writing items remains guarded by change_orders.update.
Attaching Documents to a Change Order
Attach supporting documents to a change order in DRAFT status. Unlike items, which have dedicated mutations, documents are managed through submitDraft. Each document must be a component in a DOCUMENT-type category in the same library as the change order; otherwise the call fails with DOCUMENTS_NOT_DOCUMENT_CATEGORY or DOCUMENTS_WRONG_LIBRARY, and listing the same document twice fails with DUPLICATE_DOCUMENTS:
Adding Documents
Removing Documents
Switching Type and Template in Draft
While a change order is in DRAFT, submitDraft can also change its type and its template:
SubmitDraftInput field
Type
Description
coType
CoType
New change order type. Must be allowed by the change order's template.
configId
ID
ID of the template (config) to switch to — the id from getTemplates. The template must be enabled; a disabled or archived template is rejected.
Both fields are optional, and both are only accepted while the status is DRAFT. After the change order has been submitted for review, its type and template are fixed — reset it back to DRAFT first if you need to change either.
Changing the type
The new type must be a member of the template's coTypes, or the mutation fails with CO_TYPE_NOT_ALLOWED.
Changing the template
A template owns the whole workflow shape, so switching it rebuilds the change order from the new template's configuration:
Reset — stages, reviewers and notify lists, decision methods, resolution options, and custom content fields and their values are replaced by the new template's defaults (including any pre-assigned participants).
Kept — the change order's items and its own metadata, such as
nameanddescription.Re-resolved — the
coType. If you do not passcoTypein the same call, the type falls back to the new template'sdefaultCoType. If you pass bothconfigIdandcoType, the type you pass must be allowed by the new template.
Because stage and content IDs change, re-read stages and contents from the response (as above) before calling addReviewersToStages or setContentValue again — IDs captured before the switch are stale.
Setting Custom Field Values
If your template defines custom fields (like "Impact Assessment" or "Change Category"), set their values:
Adding Reviewers to Stages
Assign users to review each approval stage:
Removing Reviewers
Each stage has a reviewer floor (see Minimum reviewers below). How removal interacts with it depends on the change order status:
DRAFT: removal may leave a stage below its floor. The change order simply cannot be submitted until enough reviewers are added back. Other guards still apply, for example required approvers cannot be removed.OPEN, future stage: removal cannot reduce a stage below its floor. The request fails withREMOVAL_VIOLATES_DECISION_METHODand no reviewers are removed.OPEN, current or past stage: existing restrictions are unchanged.
Configuring Stage Decision Methods
Each stage can use different approval logic. Decision methods can be changed only while the change order is in DRAFT, and only to a method listed in the stage's allowableDecisionMethods (set by the template's stage types; null allows every method):
UNANIMOUS
All reviewers must approve
MAJORITY
More than 50% must approve
MINIMUM
At least decisionMinimumCount reviewers must approve
Minimum reviewers
Every stage also carries minReviewers: Int!, a read-only floor on the number of named reviewers the stage must have before the change order can be submitted. It is copied from the template's minReviewers when the stage is created and defaults to 1. It cannot be changed on the change order.
minReviewers and decisionMinimumCount are different things:
minReviewers
How many reviewers must be assigned to the stage before submission
Template, at stage creation
decisionMinimumCount
How many approvals pass the stage when the method is MINIMUM
updateDecisionMethodsForStages
The reviewer floor a stage must meet before submission is:
UNANIMOUS
minReviewers
MAJORITY
minReviewers
MINIMUM
max(minReviewers, decisionMinimumCount)
For MAJORITY and UNANIMOUS, the number of approvals needed to pass the stage is still derived from the actual reviewer count. minReviewers only guarantees how many reviewers there are to begin with.
Submitting for Review
Submitting moves a change order from DRAFT to OPEN. It is a two-step operation: run the change order's validations, then submit.
Run Validations
Submission requires the change order's validations to have run and passed (isValid: true). Call validate once the draft is complete:
validationRun.state is PASS, FAIL, or IN_PROGRESS. In some libraries validation runs asynchronously: the mutation returns straight away with state: IN_PROGRESS and isValid: false, and the verdict lands on the change order when the run finishes. In that case poll the change order's isValid (or listen for the change_orders.validation_completed webhook) until it settles. When the run fails, read validationRun.results to see which checks failed, fix them, and validate again. See Change Order Validations for the checks that run.
Switching the type or template, or resetting the change order, clears isValid, so validate again after either.
Submit
Check Submission Readiness
Query minReviewers and decisionMinimumCount alongside each stage's reviewers so you can tell how many reviewers are still missing:
Examples of how the floor applies:
A stage with
minReviewers: 2and one reviewer blocks submission, whichever decision method is selected.A
MINIMUMstage withminReviewers: 1anddecisionMinimumCount: 3needs three named reviewers before submission, because the floor ismax(minReviewers, decisionMinimumCount).A
MAJORITYstage withminReviewers: 2and three reviewers can be submitted; two of the three must then approve.
Making Review Decisions
Reviewers approve or reject their assigned stages while the change order is OPEN (otherwise the call fails with CANNOT_REVIEW_INVALID_STATUS). updateReviewDecision records the decision of the calling user, so the API key's user must be a reviewer on that stage. A stage the decision method would approve stays pending until every required approver (isRequiredToApprove: true) has approved, and a rejection from a required approver rejects the stage at once:
Approving
Rejecting
Completing Change Orders
Closing a Resolved Change Order
A change order resolved under MANUAL_CLOSE — approved, rejected, or withdrawn — waits in RESOLVED until you close it. close requires RESOLVED status (otherwise CANNOT_CLOSE_INVALID_STATUS), and the caller must be the change order's author, an organization admin, or one of its reviewers (otherwise UNAUTHORIZED_CLOSE_ACCESS). Closing an approved change order releases its changes to the components; closing a rejected or withdrawn one releases nothing. Under AUTO_CLOSE this happens on resolution and there is nothing to close.
Withdrawing a Change Order
Any user with the change_orders.withdraw permission can withdraw an OPEN change order; withdrawing one in any other status fails with CANNOT_WITHDRAW_INVALID_STATUS. The resolution becomes WITHDRAWN, and the status becomes CLOSED or RESOLVED depending on withdrawalRouterOption:
Resetting to Draft
Reset a change order back to DRAFT to make modifications and resubmit. Only an OPEN or RESOLVED change order can be reset (otherwise CANNOT_RESET_INVALID_STATUS), and only its author or an organization admin can reset it:
Complete Workflow Example
Here's a complete example of the typical happy path: pick a template, build the draft, validate, submit, approve, and close if the template asks for a manual close.
Handling Rejection
What a rejection leaves you with depends on the change order's rejectionRouterOption:
MANUAL_CLOSE— the change order staysRESOLVEDwith resolutionREJECTED, and you can revive it.AUTO_CLOSE— the change order isCLOSEDwith resolutionREJECTED. It cannot be reset; create a new change order instead.
To revive a RESOLVED rejection:
Review the rejection notes to understand what needs to change
Reset to DRAFT using the
resetmutation (the author or an organization admin only)Make necessary modifications (update items, content, etc.)
Run validations again with
validate— resetting clearsisValidResubmit using
submitForReview
Best Practices
Planning
Use descriptive names: Include an identifier (e.g., "ECO-2024-001") and brief description
Choose the right template: Select a template that matches your change type
Complete all required fields: Fill out custom content fields before submission
Items and Scope
Include all affected components: Add every component that will be modified
Specify correct versions: Reference the specific version being changed
Keep scope focused: One change order should address one logical change
Review Process
Add appropriate reviewers: Ensure all required stakeholders are included
Provide context in notes: When approving or rejecting, include detailed notes
Validate, then check
canSubmitbefore submitting: Avoid submission errors
Workflow Management
Don't skip states: Follow the proper lifecycle transitions
Close resolved COs promptly: Closing an approved change order is what releases its changes to the components. Under
MANUAL_CLOSEnothing is released until someone callsclose; underAUTO_CLOSEapproval releases them automaticallyDocument rejection reasons: Provide actionable feedback when rejecting
Next Steps
Documents: Learn about document management and how documents relate to change orders
Change Order Workflows: Create custom templates with multi-stage approvals
Change Order Workflow Reference: Complete YAML specification
Change Order Validations: Implement validation rules
Webhooks: Get notified when change orders are updated
Last updated
Was this helpful?