summaryrefslogtreecommitdiffstats
path: root/WFM_group_XX/ProcessA.tpn
blob: b2fbe7ef314ce88f869dae470fc7507b7651de57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
-- Reading file C:\Documents and Settings\cbratosi\Desktop\BPMS course\woflan\ProcessA\Main_Process.scr
-- 
-- Generated by Co2Tpn, d.d. Jul 10 2003 --
-- 
-- History
-- 
-- 10 Jul 2003:
--   Fixed a subsubprocess nomenclature bug.
--   Writing file handling errors to output file.
-- 
-- 16 Oct 2000:
--   Moved "icon_id" and "duration" option outside "with" option.
--   Added "command_ruled" option for conditions (has extra parameter).
-- 
-- 13 Oct 2000:
--   Initial version.
-- 
-- declare flow: Main_Process
place "start flow" init 1;
-- declare activity: Cancel_trip
trans "Cancel_trip"
    in "Cancelling"
    out "Customer_canceled_the_trip"
;
-- end activity: Cancel_trip
-- declare activity: Resend_bill
trans "Resend_bill"
    in "Wait_for_payment"
    out "Sending_bill"
;
-- end activity: Resend_bill
-- declare activity: Re_fund
trans "Re_fund"
    in "Customer_canceled_the_trip" "Collected_garbage"
    out "Trip_cancelled"
;
-- end activity: Re_fund
-- declare activity: Canceling_trip
trans "Canceling_trip"
    in "Trip_cancelled"
    out "End"
;
-- end activity: Canceling_trip
-- declare activity: Garbage_colector_1
trans "Garbage_colector_1"
    in "Customer_canceled_the_trip" "Customer_paid"
    out "Customer_canceled_the_trip" "Collected_garbage"
;
-- end activity: Garbage_colector_1
-- declare activity: Refine_travel_plans
trans "Refine_travel_plans"
    in "Ask_for_more_options"
    out "Client_registered"
;
-- end activity: Refine_travel_plans
-- declare activity: Send_the_bill
trans "Send_the_bill"
    in "Sending_bill"
    out "Wait_for_payment"
;
-- end activity: Send_the_bill
-- declare activity: Prepare_bill
trans "Prepare_bill"
    in "Preparing_bill_"
    out "Sending_bill"
;
-- end activity: Prepare_bill
-- declare activity: No_refund
trans "No_refund"
    in "Customer_canceled_the_trip" "Wait_for_payment" "Trip_booked"
    out "Trip_cancelled"
;
-- end activity: No_refund
-- declare activity: Time_out
trans "Time_out"
    in "Wait_client_response"
    out "The_client_exceeded_the_time_frame_for_an_answer"
;
-- end activity: Time_out
-- declare activity: Contact_client_for_confirmation_
trans "Contact_client_for_confirmation_+Ask_for_more_options"
    in "The_client_exceeded_the_time_frame_for_an_answer"
    out "Ask_for_more_options"
;
trans "Contact_client_for_confirmation_+Positive_response"
    in "The_client_exceeded_the_time_frame_for_an_answer"
    out "Positive_response"
;
trans "Contact_client_for_confirmation_+Negative_response"
    in "The_client_exceeded_the_time_frame_for_an_answer"
    out "Negative_response"
;
-- end activity: Contact_client_for_confirmation_
-- declare activity: AND_split
trans "AND_split"
    in "Positive_response"
    out "Preparing_bill_" "Cancelling" "Booking_trip"
;
-- end activity: AND_split
-- declare activity: Garbage_collector_2
trans "Garbage_collector_2"
    in "Customer_canceled_the_trip" "Documents_sent"
    out "Customer_canceled_the_trip" "Collected_garbage"
;
-- end activity: Garbage_collector_2
-- declare activity: Announce_the_client
trans "Announce_the_client"
    in "Travel_plan_found"
    out "Wait_client_response"
;
-- end activity: Announce_the_client
-- declare activity: Book_the_trip
trans "Book_the_trip"
    in "Booking_trip"
    out "Trip_booked"
;
-- end activity: Book_the_trip
-- declare activity: Start_process
trans "Start_process"
    in "start flow"
    out "Wait_for_client_requests"
;
-- end activity: Start_process
-- declare activity: Client_request_registration
trans "Client_request_registration"
    in "Wait_for_client_requests"
    out "Client_registered"
;
-- end activity: Client_request_registration
-- declare activity: Customer_pays_the_bill
trans "Customer_pays_the_bill"
    in "Wait_for_payment" "Trip_booked"
    out "Customer_paid"
;
-- end activity: Customer_pays_the_bill
-- declare activity: Start_the_trip
trans "Start_the_trip"
    in "Cancelling" "Documents_sent"
    out "End"
;
-- end activity: Start_the_trip
-- declare activity: Send_documents
trans "Send_documents"
    in "Cancelling" "Customer_paid"
    out "Cancelling" "Documents_sent"
;
-- end activity: Send_documents
-- declare activity: Find_travel_opportunities
trans "Find_travel_opportunities"
    in "Client_registered"
    out "Travel_plan_found"
;
-- end activity: Find_travel_opportunities
-- declare activity: Delete_client_request
trans "Delete_client_request"
    in "Negative_response"
    out "End"
;
-- end activity: Delete_client_request
-- declare activity: Client_reply
trans "Client_reply+Ask_for_more_options"
    in "Wait_client_response"
    out "Ask_for_more_options"
;
trans "Client_reply+Negative_response"
    in "Wait_client_response"
    out "Negative_response"
;
trans "Client_reply+Positive_response"
    in "Wait_client_response"
    out "Positive_response"
;
-- end activity: Client_reply
-- declare activity: End_process_
trans "End_process_"
    in "End"
    out "end flow"
;
-- end activity: End_process_
-- end flow: Main_Process