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
State Machine Transition → Update State Machine Transition
AI-generatedOverview
This node updates a State Machine Transition in the Shopware system. It is useful for automating workflows where state transitions need to be modified programmatically, such as updating the action name, states involved, or custom fields of a transition within a state machine. For example, it can be used to change the transition details in an order processing workflow or any custom state machine setup in Shopware.
Use Case Examples
- Updating the action name and states of a specific state machine transition to reflect a new business process.
- Modifying custom fields or timestamps of a state machine transition to track additional metadata.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the state_machine_transition to update. |
| Response | Data format for the response; can be empty if no specific format is provided. |
| Action Name | The name of the action associated with the state machine transition. |
| State Machine Id | Identifier of the state machine to which the transition belongs. |
| From State Id | Identifier of the state from which the transition starts. |
| To State Id | Identifier of the state to which the transition leads. |
| Custom Fields | Custom JSON fields to include in the state machine transition. |
| Created At | Timestamp indicating when the transition was created. |
| Updated At | Timestamp indicating when the transition was last updated. |
| State Machine | JSON object representing the entire state machine structure related to the transition. |
| From State Machine State | JSON object representing the state from which the transition originates. |
| To State Machine State | JSON object representing the state to which the transition leads. |
| Request Options | Settings for request behavior such as batching, SSL validation, proxy, and timeout. |
Output
JSON
id- The unique identifier of the updated state machine transition.actionName- The action name of the updated transition.stateMachineId- The identifier of the state machine to which the transition belongs.fromStateId- The identifier of the state from which the transition starts.toStateId- The identifier of the state to which the transition leads.customFields- Custom fields associated with the transition.createdAt- Timestamp when the transition was created.updatedAt- Timestamp when the transition was last updated.stateMachine- The full JSON representation of the state machine related to the transition.fromStateMachineState- The full JSON representation of the originating state in the state machine.toStateMachineState- The full JSON representation of the destination state in the state machine.
Dependencies
- An API key credential for Shopware Admin API
Troubleshooting
- Ensure all required fields (Id, Action Name, State Machine Id, From State Id, To State Id) are provided; missing these will cause errors.
- If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured.
- Timeout errors can occur if the server is slow or unreachable; adjust the timeout setting in Request Options accordingly.
- Invalid JSON in customFields, stateMachine, fromStateMachineState, or toStateMachineState properties can cause request failures; ensure valid JSON format.