更改任务状态 – 最佳实践

huangapple go评论78阅读模式
英文:

Change the status of a task - Best practice

问题

我正在创建一个涉及公司内活动的应用程序。

这些任务可以经历 n 个状态(例如:新建、进行中、已完成、已取消)。

状态的转换由先前的状态和当前登录用户共同决定。

在 Spring Boot 应用程序中处理所有这些的最佳方式是什么?使用业务流程管理引擎吗?

谢谢。

英文:

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

答案1

得分: 1

如果像你建议的那样简单,一些规则的列表,Drools 应该是可以的。

如果更加复杂,请看一下 activiti

两者都可以很容易地与 SpringBoot 集成。

英文:

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.

huangapple
  • 本文由 发表于 2020年10月26日 23:51:21
  • 转载请务必保留本文链接:https://go.coder-hub.com/64540560.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定