Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing workflow using Spring

We are working on a Spring based web based application where we need to implement workflow. This is how a sample scenario looks like:

  • User fills in the registration form. This request is stored in the database and an admin will be notified.
  • Admin will approve this request and only then this request will actually be processed and can be taken further.
  • There can be one or more than one admins who need to approve the requests based on the type of the activity.
  • There will be hierarchies assigned to different roles.
  • Only the admin can view the options to approve or reject requests. Not everyone. In general, there will be user-type specific activities.

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.
Is there anything Spring offers that will suite my requirement? I have gone through this and this Spring documentation but could not understand fully.

like image 824
Pramod Karandikar Avatar asked Jul 16 '14 08:07

Pramod Karandikar


1 Answers

Spring announced a new project: Spring Statemachine

like image 123
Marco Luly Avatar answered Nov 01 '22 21:11

Marco Luly