1 | <?xml version="1.0"?> |
---|
2 | <cps-workflow workflow_id="waeup_student_wf" |
---|
3 | title="CPS Workflow Definition" |
---|
4 | state_variable="review_state" |
---|
5 | meta_type="CPS Workflow"> |
---|
6 | <permission>View</permission> |
---|
7 | <state state_id="admitted" title=""> |
---|
8 | <exit-transition transition_id="request_clearence"/> |
---|
9 | </state> |
---|
10 | <state state_id="cleared_and_validated" title=""> |
---|
11 | </state> |
---|
12 | <state state_id="clearence_requested" title=""> |
---|
13 | <exit-transition transition_id="clear_and_validate"/> |
---|
14 | <exit-transition transition_id="reject"/> |
---|
15 | </state> |
---|
16 | <state state_id="rejected" title=""> |
---|
17 | </state> |
---|
18 | <transition transition_id="admit" title="" |
---|
19 | new_state="admitted" trigger="USER" |
---|
20 | before_script="" after_script=""> |
---|
21 | |
---|
22 | <guard> |
---|
23 | </guard> |
---|
24 | <transition-behavior behavior_id="initial-create"/> |
---|
25 | </transition> |
---|
26 | <transition transition_id="clear_and_validate" title="" |
---|
27 | new_state="cleared_and_validated" |
---|
28 | trigger="USER" before_script="" after_script=""> |
---|
29 | |
---|
30 | <guard> |
---|
31 | </guard> |
---|
32 | </transition> |
---|
33 | <transition transition_id="reject" title="" |
---|
34 | new_state="rejected" trigger="USER" |
---|
35 | before_script="" after_script=""> |
---|
36 | |
---|
37 | <guard> |
---|
38 | </guard> |
---|
39 | </transition> |
---|
40 | <transition transition_id="request_clearence" title="" |
---|
41 | new_state="clearence_requested" trigger="USER" |
---|
42 | before_script="" after_script=""> |
---|
43 | |
---|
44 | <guard> |
---|
45 | </guard> |
---|
46 | </transition> |
---|
47 | </cps-workflow> |
---|