1、要求为下面的 update inventory 用例创建其工作流的活动图:1. 标识需要活动图的用例:adminstratorsale clrktelphone pratorrun iventory eportsupdate invtorysaleload invetory datsave invtory datverify chek_sale is achek purchaseverify credit card_sale is credit card purchasephone rdwal-in sale2. 建模 UpdateInventory 用例的主路径: GetOrderSaveO
2、rder VerifyCheckVerifyCreditCardUpdateOrderLoadOrerCreditCardSalesOrderIsNewOrderIsOld CreatNewOrderCheckSale3. 建模从路径,包括出错处理,同时提供初始活动图的细节信息: GetOrdSaveOrdVerifyCheckVerifyCreditardUpdateOrdLoadOresucessucesCreditardSlesOrdeIsNwOrdeIsld CreatNwOrdeCheckSalesucesvalidsucesfailureDisplay Ero:DatSveErou
3、cesinvalidDisplay Ero:InvalidCreitEroChargerditCardfailureDisplay Ero:InsuficentFud Display Ero:CheckVrifcationErfailurefailureDisplay Ero:UpdateOrdEroDisplay Ero:LadErofailure4. 向活动图增强游泳道以便增强可读性,对初始活动提供更多的细节信息: CheckVrificationSevieWebsiteCreditardCentrTelphoneOpratorGetOrder SaveOrdrVerifyCheckVer
4、ifyCreditardUpdateOrdrLoadOrersucessucesCreditardSlesOrderIsNew OrderIsOldCreatNewOrder CheckSalesucesvlisucesfailureDisplay Eror:DatSveEror ucsinvalidDisplay Eror:InvalidCreitEror ChargerditCardfailureDisplay Eror:InsuficentFudDisplay Eror:CheckVrificationEror failurefailureDisplay Eror:UpdateOrdrEroDisplay Eror:LadEror failureCheckUnverifiedCreditUnverifiedCheckVrifiedCreditVerified