Workflows in ORDER and ECOMMERCE in ORDER and ECOMMERCE (reproduced)

zhaozj2021-02-16  97

Workflow Examples in ORDER and ECOMMERCE ProcessOrder -> CheckBlackList -> ProcessPayment -> Success -> Clearchart -> InitiateOrderWorkflow -> Start The Workflow

1. First, use ProcessOrder according to the order, discovery After calling CreateOrder success, call checkblacklist according to SUCCESS, and discovery according to Controller.xml according to ECOMMERCE

After successful checkOrderBlacklist, according Success, steering processpayment ProcessPayment successfully, turn to ClearCartForRDER

After success, call InitiateOrderWorkflow, < / request-map> in the initiateOrderWorkflow, dispatcher.runAsync ( "processOrder", UtilMisc.toMap ( "orderId", orderId, "orderStatusId", orderHeader.getString ( "statusId" screen.width / 2) this.width = screen. Width / 2 "vSpace = 2 border = 0>); start the workflow, corresponding to Service for testing the workflow engine This service's engine is a service service for Workflow,

ProcessOrder service defined in the location represented xpdl definition package, invoke the corresponding in orderProcessXPDL.xml, 转载请注明原文地址:https://www.9cbs.com/read-11090.html


New Post(0)