The Berkeley XML Application Infrastructure and the "Center for Document Engineering"

UC Computing Services Conference - 5 August 2003

[ Previous - Next - Top ]


26. Simple Workflow Example

  • Document Workflow in the Simple TimeTracker Reference Application

  • The corresponding XML document (automatically generated) that represents all the possible document states in the application and the valid transitions between them

    
    <FSM>
    <State id="1" name="startState">
      <Transition input="createNew" nextState="2" description="new document is submitted"/>
    </State>
    
    <State id="2" name="submittedState">
      <Transition input="approve" nextState="4" description="submitted document is approved"/>
      <Transition input="return" nextState="3" description="submitted document was returned for modifications"/>
      <Transition input="reject" nextState="6" description="submitted document was rejected"/>
    </State>
    
    <State id="3" name="returnedState">
      <Transition input="change" nextState="2" description="returned document was changed and submitted again"/>
    </State>
    
    <State id="4" name="approvedState">
      <Transition input="payOut" nextState="5" description="approved document is paid out"/>
    </State>
    
    <State id="5" name="paidState" description="Terminal state: document has been paid out."/>
    <State id="6" name="rejectedState" description="Terminal state: document has been rejected."/>
    </FSM>
    

  • [ Previous - Next - Top ]

    Copyright © 2003 Robert J. Glushko