wangting
2024-05-10 46f7ae4e3a00e3a1ce38498dce0dd373726e9648
1
2
3
4
5
6
7
8
9
10
11
12
13
<task-lifecycle initial="open">
  <state name="open">
    <transition name="complete" to="completed" />
    <transition name="suspend" to="suspended" />
    <transition name="cancel" to="cancelled" />
  </state>
  <state name="suspended">
    <transition name="resume" to="open" />
    <transition name="cancel" to="cancelled" />
  </state>
  <state name="cancelled" />
  <state name="completed" />
</task-lifecycle>