This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


Sequential and State Machine Workflows



Download 21,46 Mb.
Pdf ko'rish
bet1754/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   1750   1751   1752   1753   1754   1755   1756   1757   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

Sequential and State Machine Workflows

The WF API provides support for modeling two flavors of business process workflows: sequential

workflows and state machine workflows. Ultimately, both categories are constructed by piecing

together any number of related activities; however, exactly how they execute is what sets them

apart.

C H A P T E R   2 6  



I N T R O D U C I N G   W I N D O W S   W O R K F L O W   F O U N D AT I O N



921

8849CH26.qxd  10/10/07  11:46 AM  Page 921




The most straightforward workflow type is sequential. As its name implies, a sequential work-

flow allows you to model a business process where each activity executes in sequence until the final

activity completes. This is not to say that a sequential workflow is necessarily linear or predictable

in nature—it is entirely possible to build a sequential workflow that contains various branching and

looping activities, as well as a set of activities that execute in parallel on separate threads.

The key aspect of a sequential workflow is that it has a crystal-clear beginning and ending

point. Within the Visual Studio 2008 workflow designer, the path of execution begins at the top of

the WF diagram and proceeds downward to the end point. Figure 26-3 shows a simple sequential

workflow that models a partial business process for verifying a given automobile is in stock.

Figure 26-3.

Sequential workflows have a clear starting point and ending point.

Sequential workflows work well when the workflow models interactions with various system-

level entities, and when there is no requirement for backtracking in the process. For example, the

business process modeled in Figure 26-3 has two possible outcomes: the car is in stock or it isn’t. If

the car is indeed in stock, the order is processed using some block of custom code (whatever that

may be). If the car isn’t in stock, we send a notification e-mail, provided that we have the client’s 

e-mail address at our disposal.

C H A P T E R   2 6  




Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1750   1751   1752   1753   1754   1755   1756   1757   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish