Search code examples
javaspring-bootbusiness-process-management

Change the status of a task - Best practice


I am creating an application that concern the activities to be carried out in a company.

These tasks can go through n states (e.g. new, in progress, completed, canceled).

The status step is determined by both the previous state and the user who is currently logged on.

What is the best way to handle all this in a spring boot application? A BPM engine?

Thanks


Solution

  • If its as simple as you suggested, list of rules, Drools should be fine.

    If its more elaborate, please have a look at activiti

    Both easily integrates with SpringBoot.