title: Implementing workflow using Spring
body: <p>We are working on a Spring based web based application where we need to implement workflow. This is how a sample scenario looks like: </p>
  
  <ul>
  <li>User fills in the registration form. This request is stored in the database and an admin will be notified. </li>
  <li>Admin will approve this request and only then this request will actually be processed and can be taken further.</li>
  <li>There can be one or more than one admins who need to approve the requests based on the type of the activity.</li>
  <li>There will be hierarchies assigned to different roles.</li>
  <li>Only the admin can view the options to approve or reject requests. Not everyone. In general, there will be user-type specific activities.</li>
  </ul>
  
  <p>One way is to design the workflow based on database entries. Each user may be assigned one/more roles and workflow will involve these users. <br /> Is there anything Spring offers that will suite my requirement? I have gone through <a href="http://docs.spring.io/spring-security/site/docs/3.0.x/reference/domain-acls.html" rel="noreferrer">this</a> and <a href="http://docs.spring.io/spring-security/site/docs/3.0.x/reference/el-access.html" rel="noreferrer">this</a> Spring documentation but could not understand fully.</p>