Upload
4gen3
View
219
Download
0
Embed Size (px)
Citation preview
8/9/2019 Using Business Activity diagram
1/2
USEOFTHEDIAGRAMSOFACTIVITIESFORTHEMODELINGOFBUSINESSUsuallywhenwetakecaretodesignaninformationsystemwe'readaptingaworkflowandbehaviorstoacomputersystem.Abletoproperlyrepresentandunderstandtheseflowswillbeofgreathelpindesigningoursystem.InsidewehavetheUMLactivitydiagram,thisdiagramwillservetodefinethebusinessprocessesthatmustbeconsideredourinformationsystem.Activitydiagramsarepartofbusinessmodeling.Inundertakingtheactivitydiagramonecanseeclearlyallactivitiesandlogica
lflow,includingtheprocessesrunninginparallel(andnotonlythesequentialflow),flowofactivitiesandnotdata,thisisoneofthemaindifferencesbetweenactivitydiagramandotherflowcharts,andthisishowweshouldthinkaboutwhenwedesignanactivitydiagram.Thistypeofdiagramisnotonlyusedinsoftwareengineering,butinotherareaswhereithastodefineworkprocesses,becausewiththemwecanrepresentthelogicalsequenceofabusinessprocess,andbrokendownintodifferentactivities,thisisoneofthegreatvirtuesofthistypeofdiagram.ActivitydiagramsappearedintheUML1.3notation,andisoneofthoseusedformodelingthedynamicaspectsofthesystem.AndthesearebasedoneventdiagramsJimOdellandothermodelingtechniquessuchasSDLandPetriNets.Eachactivitydiagramiscomposedofaseriesofactivitiesthatrepresentastatewithintheflow.Thisstatehastogeneratesomeinformation.Iti
srepresentedbythefollowingfigure:StereotypesIDE
ActivityUMLGrouphttp://groups.msn.com/UML
business
Activity
Anactivitycanbebrokendownfurtherbreakingdownastheiractivitiesinanothergroupofthem.IDEDescriptionIntheRationalRose,youcanaddanactivitydiagramintoanactivitytofurtherdetailthestepsinthisactivity
Inotheridesisdescribedwithinthesameactivity
Obviouslyeverythingthatrepresentsanactivityflowcanbeinterrupted.
UMLGroup
http://groups.msn.com/UML
Theactivitydiagramallowsustoidentifylogicalbehavioroftheflowofactivities,withthisflowwegetaclearpictureofthebehaviorofthebusinesstologicalconditions.Wewillusethediamondsymbol.
Activitiescommunicatewitheachotherusingtransitions,torepresentatransitionuseanarrow.Thesenseofflowthatwerepresentisgivenbythedirectionofthearrow.Withintheflowofbusinesswearemodelingconcurrentstreamscanbefound.Intheactivitydiagramhaveasynchronizationbartospecifythedivisionandunionofparallelworkflows.
.Synchronizationwiththebarsrepresentparallelflows,butUMLincorporatesaveryinterestingelementtorepresentparallelflowswhentheyareexecutedbydifferentroles.ThiselementiscalledSWINLINES.Aswinlineisaresponsibilitywithintheflowofthebusiness(high-levelresponsibility),eachswinlinemusthaveauniquenamewithinthediagramandanactivitycanonlybelongtooneSwinlines.
UMLGroup
http://groups.msn.com/UML
8/9/2019 Using Business Activity diagram
2/2
InSwinlineswerepresentnotonlydoesthebusinessprocessbutalsowhodoesit.Theabilitytorepresentparallelprocessesresponsibilitiesanddiagramsmakeavalue-addedactivitiesflowdiagrams,asthesecanonlyrepresentsequentialprocesses.
Theactivitydiagramwewilluseintheanalysisphase,butsowecanuseinthe
developmentphaseatthisstagewewilluseasatooltorepresentthebehaviorofobjects,foritisrecommendedthattheseappeartorepresentitsinitialvalueandtheresultsaftertheactivity.Butitallflowscanberepresentedusingtheactivitydiagram.Nontrivialsystemsexistwhichcannotreflecttheirbehaviorinanactivitydiagram.AswehaveseenwiththeactivitydiagramcanhaveaclearervisionofwhatwillbethebusinessprocessUMLGrouphttp://groups.msn.com/UML
weneedtodevelopthankstoitsgreatrichnessofexpression,thusclearinganyconcurrentorexternalcircuitstooursystem.Thesediagramsarealsousedtomodeltheflowofausecase.
UMLGroup
http://groups.msn.com/UML