Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
Order Management → Order State Transition
AI-generatedOverview
This node operation allows transitioning the state of an order within an order management system. It is useful for automating order workflows, such as moving an order from 'open' to 'in progress' or other states defined in the system's state machine. For example, it can be used to programmatically update order status after payment confirmation or shipment.
Use Case Examples
- Transition an order state from 'open' to 'in progress' by specifying the order ID and the transition action name 'process'.
- Send a notification email to the customer when the order state changes by enabling the 'Send Mail' option.
- Attach relevant documents or media to the order during the state transition by providing their IDs.
Properties
| Name | Meaning |
|---|---|
| Order Id | Identifier of the order to be transitioned. |
| Transition | The action name of the state machine transition to apply to the order, e.g., 'process' to change the order state from open to in progress. |
| Send Mail | Controls whether an email should be sent to the customer upon state transition. |
| Document Ids | A list of document identifiers to attach to the order during the transition. |
| Media Ids | A list of media identifiers to attach to the order during the transition. |
| State Field Name | The database column name representing the order state; usually 'stateId' and typically does not need to be changed. |
| Request Options | Additional request settings such as batching, SSL validation, proxy, and timeout configurations. |
Output
JSON
orderId- The identifier of the order that was transitioned.transition- The transition action applied to the order state.sendMail- Indicates if a mail was sent to the customer.documentIds- List of document IDs attached during the transition.mediaIds- List of media IDs attached during the transition.stateFieldName- The state field name used in the order database table.
Dependencies
- Requires API authentication credentials to connect to the order management system's backend.
Troubleshooting
- If an invalid transition is specified, the node will throw an error listing possible valid transitions for the current order state. Verify the transition action name is correct and applicable.
- Ensure the order ID is valid and exists in the system to avoid errors.
- If emails are not sent despite enabling 'Send Mail', check the email service configuration and permissions.
- If attaching documents or media fails, verify the provided IDs are correct and accessible.