title: Design of state machine logic in REST application
body: <p>I am trying to finalize desgin for my use case of a REST application. 
  It is like a online order application where it will accept the order details, process it and 
  and once processing is finished it will update the status in datbase.
  during fulfilling there can be multiple task which will be invoked. There will be another REST end point which will be used to get the status of order. </p>
  
  <p>So there will be state transaction like below</p>
  
  <p><strong>Received --> Fulfilling --> Fulfilled</strong> </p>
  
  <p>I stumble upon spring-statemachine framework and looks interesting. Considering above use case
  is spring-statemachine right choice for it ? Also is there any example project to understand 
  in much details.   </p>