1 | <?xml version="1.0"?>
|
---|
2 | <?xml-stylesheet type="text/xsl" href="../definition.xsl"?>
|
---|
3 | <cps-workflow workflow_id="waeup_student_accommodation_wf"
|
---|
4 | title="CPS Workflow Definition"
|
---|
5 | state_variable="review_state"
|
---|
6 | meta_type="CPS Workflow">
|
---|
7 | <permission>Add portal content</permission>
|
---|
8 | <permission>Modify portal content</permission>
|
---|
9 | <permission>View</permission>
|
---|
10 | <state state_id="bed_reserved" title="">
|
---|
11 | <exit-transition transition_id="pay_maintenance_fee"/>
|
---|
12 | <exit-transition transition_id="remove"/>
|
---|
13 | <permission-map name="Add portal content" acquired="True">
|
---|
14 | </permission-map>
|
---|
15 | <permission-map name="Modify portal content"
|
---|
16 | acquired="True">
|
---|
17 | <permission-role>Owner</permission-role>
|
---|
18 | </permission-map>
|
---|
19 | <permission-map name="View" acquired="True">
|
---|
20 | <permission-role>Owner</permission-role>
|
---|
21 | </permission-map>
|
---|
22 | </state>
|
---|
23 | <state state_id="maintenance_fee_paid" title="">
|
---|
24 | <exit-transition transition_id="remove"/>
|
---|
25 | <exit-transition transition_id="reserve_bed"/>
|
---|
26 | </state>
|
---|
27 | <state state_id="removed" title="">
|
---|
28 | </state>
|
---|
29 | <transition transition_id="pay_maintenance_fee" title=""
|
---|
30 | new_state="maintenance_fee_paid" trigger="USER"
|
---|
31 | before_script="" after_script="">
|
---|
32 |
|
---|
33 | <guard>
|
---|
34 | </guard>
|
---|
35 | </transition>
|
---|
36 | <transition transition_id="remove" title=""
|
---|
37 | new_state="removed" trigger="USER"
|
---|
38 | before_script="" after_script="">
|
---|
39 |
|
---|
40 | <guard>
|
---|
41 | </guard>
|
---|
42 | </transition>
|
---|
43 | <transition transition_id="reserve_bed" title=""
|
---|
44 | new_state="bed_reserved" trigger="USER"
|
---|
45 | before_script="" after_script="">
|
---|
46 |
|
---|
47 | <guard>
|
---|
48 | </guard>
|
---|
49 | <transition-behavior behavior_id="initial-create"/>
|
---|
50 | </transition>
|
---|
51 | </cps-workflow> |
---|