Order Workflow Configuration
Configure comprehensive order processing workflow with status transitions and automated actions
Order Workflow Configuration
Configure comprehensive order processing workflow with status transitions and automated actions
Exigences
Prérequis
- Workflow engine configured
- User groups defined
- Understanding of workflow concepts
Version SAP Commerce
Modules Requis
Métadonnées
Impact Commercial
Automates order processing and improves operational efficiency
Paramètres
tools.sapCommerceImpexLibrary.ui.parameterGuide
Code Impex
# Order Workflow Configuration
# Sets up comprehensive order processing workflow with status transitions
# Create order statuses
INSERT_UPDATE OrderStatus;code[unique=true];name[lang=en];description[lang=en]
;CREATED;Created;Order has been created
;CONFIRMED;Confirmed;Order has been confirmed
;PAYMENT_PENDING;Payment Pending;Waiting for payment confirmation
;PAYMENT_RECEIVED;Payment Received;Payment has been confirmed
;PACKING;Packing;Order is being prepared for shipment
;SHIPPED;Shipped;Order has been shipped
;DELIVERED;Delivered;Order has been delivered
;CANCELLED;Cancelled;Order has been cancelled
;RETURNED;Returned;Order has been returned
# Create workflow template
INSERT_UPDATE WorkflowTemplate;code[unique=true];name[lang=en];description[lang=en]
;OrderProcessingWorkflow;Order Processing Workflow;Complete order processing workflow
# Create workflow actions
INSERT_UPDATE WorkflowActionTemplate;code[unique=true];name[lang=en];description[lang=en];actionType(code);principalAssigned(uid)
;ConfirmOrderAction;Confirm Order;Confirm order details;orderConfirmationAction;order_manager
;ProcessPaymentAction;Process Payment;Process payment for order;paymentProcessingAction;payment_processor
;PrepareShipmentAction;Prepare Shipment;Prepare order for shipment;shipmentPreparationAction;warehouse_staff
;ShipOrderAction;Ship Order;Ship the order to customer;orderShippingAction;shipping_staff
;DeliverOrderAction;Deliver Order;Mark order as delivered;orderDeliveryAction;delivery_staff
# Create workflow decisions
INSERT_UPDATE WorkflowDecisionTemplate;code[unique=true];name[lang=en];description[lang=en]
;PaymentApprovedDecision;Payment Approved;Check if payment is approved
;InventoryAvailableDecision;Inventory Available;Check if inventory is available
;ShippingAddressValidDecision;Shipping Address Valid;Validate shipping address
# Create workflow nodes
INSERT_UPDATE WorkflowNodeTemplate;code[unique=true];name[lang=en];workflowTemplate(code);type(code)
;OrderCreatedNode;Order Created;OrderProcessingWorkflow;start
;OrderConfirmedNode;Order Confirmed;OrderProcessingWorkflow;action
;PaymentProcessedNode;Payment Processed;OrderProcessingWorkflow;action
;OrderPackedNode;Order Packed;OrderProcessingWorkflow;action
;OrderShippedNode;Order Shipped;OrderProcessingWorkflow;action
;OrderDeliveredNode;Order Delivered;OrderProcessingWorkflow;end
# Create workflow transitions
INSERT_UPDATE WorkflowTransitionTemplate;code[unique=true];name[lang=en];sourceNode(code);targetNode(code);workflowTemplate(code)
;CreateToConfirm;Create to Confirm;OrderCreatedNode;OrderConfirmedNode;OrderProcessingWorkflow
;ConfirmToPayment;Confirm to Payment;OrderConfirmedNode;PaymentProcessedNode;OrderProcessingWorkflow
;PaymentToPacking;Payment to Packing;PaymentProcessedNode;OrderPackedNode;OrderProcessingWorkflow
;PackingToShipping;Packing to Shipping;OrderPackedNode;OrderShippedNode;OrderProcessingWorkflow
;ShippingToDelivery;Shipping to Delivery;OrderShippedNode;OrderDeliveredNode;OrderProcessingWorkflow
tools.sapCommerceImpexLibrary.ui.sections.relatedSnippets
How to find SAP Commerce Impex snippets?
Access enterprise-grade SAP Commerce Impex snippet library with professional templates. Find solutions for common tasks, data imports, and system configuration. Features include categorized snippets, documentation, and best practices.
Fonctionnalités
- Comprehensive Impex library with 20+ prebuilt snippets
- Snippet categories covering all major SAP Commerce areas
- Advanced search and filtering capabilities
- Snippet preview and parameter configuration
- Risk assessment and difficulty ratings
- SAP Commerce version compatibility
- Module requirements validation
- Copy to clipboard functionality
- Favorites and usage history tracking
- Enterprise-grade templates and examples
Comment utiliser
- Browse snippets by category or use search to find specific functionality
- Preview snippet details including parameters and prerequisites
- Check SAP Commerce version compatibility and module requirements
- Configure snippet parameters for your specific environment
- Copy Impex code to your SAP Commerce HAC Import/Export tool
- Test in development environment before production use
- Save favorite snippets for quick access and reuse
FAQ
What is SAP Commerce Impex?
Impex is SAP Commerce's data import/export framework that uses CSV-like syntax to create, update, and manage commerce data including products, customers, orders, and system configurations.
Are these Impex snippets safe for production?
All snippets include risk assessments and prerequisites. Always review carefully, test in development first, ensure proper backups, and validate parameters before production use.
Can I modify the snippets for my specific needs?
Yes, you can copy any snippet and modify it according to your requirements. The parameter system allows for easy customization of snippet behavior and values.
What SAP Commerce versions are supported?
Snippets support multiple SAP Commerce versions from 6.7 to 2211. Each snippet shows compatible versions and required modules for proper functionality.
How do I execute an Impex snippet?
Copy the snippet code, paste it into SAP Commerce HAC (Hybris Administration Console) Import/Export tool, configure parameters, and execute. Always test with dry-run first.
What are the different risk levels?
Risk levels indicate potential impact: Low (safe operations), Medium (moderate changes), High (significant impact), Critical (major system changes requiring careful planning).