summaryrefslogtreecommitdiffstats
path: root/Woflan/PartyParty/Hoofdproces.tpn
blob: 9e54da12226b3cd48ce5619504f168c91ada8971 (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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
-- Reading file D:\My Documents\Protos\Classic\Woflan\PartyParty\Hoofdproces.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: Hoofdproces
place "start flow" init 1;
-- declare activity: Receive_Cash
trans "Receive_Cash"
    in "Process_Payment"
    out "Paid"
;
-- end activity: Receive_Cash
-- declare activity: Put_Back_Goods
trans "Put_Back_Goods"
    in "Order_Cancelled"
    out "End"
;
-- end activity: Put_Back_Goods
-- declare activity: End_Process
trans "End_Process"
    in "End"
    out "end flow"
;
-- end activity: End_Process
-- declare activity: Payment_Received
trans "Payment_Received"
    in "Bill_Send"
    out "Paid"
;
-- end activity: Payment_Received
-- declare activity: Send_Bill
trans "Send_Bill"
    in "Bill_Created"
    out "Bill_Send"
;
-- end activity: Send_Bill
-- declare activity: Create_Bill
trans "Create_Bill"
    in "Process_Payment"
    out "Bill_Created"
;
-- end activity: Create_Bill
-- declare activity: Refund
trans "Refund"
    in "Party_Cancelled"
    out "End"
;
-- end activity: Refund
-- declare activity: Cancel_Order
trans "Cancel_Order"
    in "Not_Paid" "Logistics_Planned" "Goods_Ready"
    out "Order_Cancelled"
;
-- end activity: Cancel_Order
-- declare activity: Payment_Timeout
trans "Payment_Timeout+Not_Paid"
    in "Bill_Send"
    out "Not_Paid"
;
trans "Payment_Timeout+Bill_Created"
    in "Bill_Send"
    out "Bill_Created"
;
-- end activity: Payment_Timeout
-- declare activity: Start_Pocess
trans "Start_Pocess"
    in "start flow"
    out "Start"
;
-- end activity: Start_Pocess
-- declare activity: AND_Split_1
trans "AND_Split_1"
    in "Order_Done"
    out "Process_Order" "Process_Payment"
;
-- end activity: AND_Split_1
-- declare activity: Order
trans "Order"
    in "Start"
    out "Order_Done"
;
-- end activity: Order
-- declare activity: Paid_By_Lawsuit
trans "Paid_By_Lawsuit"
    in "Fine_Never_Paid"
    out "End"
;
-- end activity: Paid_By_Lawsuit
-- declare activity: Cancel_Party
trans "Cancel_Party"
    in "Ready_for_Party"
    out "Party_Cancelled"
;
-- end activity: Cancel_Party
-- declare activity: Pay_Logistics
trans "Pay_Logistics"
    in "Logistics_Confirmed"
    out "Logistics_Ready"
;
-- end activity: Pay_Logistics
-- declare activity: Plan_Logistics_1
trans "Plan_Logistics_1"
    in "Process_Logistics"
    out "Logistics_Planned"
;
-- end activity: Plan_Logistics_1
-- declare activity: Confirm_Logistics_1
trans "Confirm_Logistics_1"
    in "Paid" "Logistics_Planned"
    out "Logistics_Confirmed" "Paid"
;
-- end activity: Confirm_Logistics_1
-- declare activity: Receive_Fine
trans "Receive_Fine"
    in "Fine_Send"
    out "End"
;
-- end activity: Receive_Fine
-- declare activity: And_Join_1
trans "And_Join_1"
    in "Paid" "Order_Ready"
    out "Ready_for_Party"
;
-- end activity: And_Join_1
-- declare activity: Receive_Goods
trans "Receive_Goods"
    in "Goods_Ordered"
    out "Process_Goods"
;
-- end activity: Receive_Goods
-- declare activity: And_Join_2
trans "And_Join_2"
    in "Logistics_Ready" "Goods_Ready"
    out "Order_Ready"
;
-- end activity: And_Join_2
-- declare activity: Order_Goods
trans "Order_Goods"
    in "Not_Complete"
    out "Goods_Ordered"
;
-- end activity: Order_Goods
-- declare activity: Inspect_Goods
trans "Inspect_Goods+Goods_Not_Ok"
    in "Goods_Back"
    out "Goods_Not_Ok"
;
trans "Inspect_Goods+End"
    in "Goods_Back"
    out "End"
;
-- end activity: Inspect_Goods
-- declare activity: Deliver_Goods
trans "Deliver_Goods"
    in "Ready_for_Party"
    out "Party__"
;
-- end activity: Deliver_Goods
-- declare activity: Pay_Logistics_2
trans "Pay_Logistics_2"
    in "Logistics_Planned___Confirmed"
    out "Logistics_Paid"
;
-- end activity: Pay_Logistics_2
-- declare activity: Plan___Confirm_Logistics
trans "Plan___Confirm_Logistics"
    in "Party__"
    out "Logistics_Planned___Confirmed"
;
-- end activity: Plan___Confirm_Logistics
-- declare activity: AND_Split_2
trans "AND_Split_2"
    in "Process_Order"
    out "Process_Logistics" "Process_Goods"
;
-- end activity: AND_Split_2
-- declare activity: Pick_Up_Goods
trans "Pick_Up_Goods"
    in "Logistics_Paid"
    out "Goods_Back"
;
-- end activity: Pick_Up_Goods
-- declare activity: Fine_Time_Out
trans "Fine_Time_Out+Fine_Never_Paid"
    in "Fine_Send"
    out "Fine_Never_Paid"
;
trans "Fine_Time_Out+Goods_Not_Ok"
    in "Fine_Send"
    out "Goods_Not_Ok"
;
-- end activity: Fine_Time_Out
-- declare activity: Send_Fine
trans "Send_Fine"
    in "Goods_Not_Ok"
    out "Fine_Send"
;
-- end activity: Send_Fine
-- declare activity: Pick_Order
trans "Pick_Order+Not_Complete"
    in "Process_Goods"
    out "Not_Complete"
;
trans "Pick_Order+Complete"
    in "Process_Goods"
    out "Complete"
;
-- end activity: Pick_Order
-- declare activity: Inspect_Order
trans "Inspect_Order+Goods_Ready"
    in "Complete"
    out "Goods_Ready"
;
trans "Inspect_Order+Process_Goods"
    in "Complete"
    out "Process_Goods"
;
-- end activity: Inspect_Order
-- end flow: Hoofdproces