Comments (3)
并行的任务会有这个问题,比如我一个任务A,执行后,有3个并行任务B、C、D。那么我当前任务就有B、C、D3个任务,现在用户在B节点进行了退回操作,但是activiti提供的用画图的线重新指定(你可以理解为activiti7开始,他的编程**是流程图这种,退回的操作,实际上是图上面的流程节点的线重新指定,你可以先看一下导出图那个接口,就会明白了,这个就是activiti提供的退回接口),这种方式退回后,实际上任务回到了A,但是C、D任务还在他的任务表里面,这样就变成了我目前的待办任务有A、C、D,我想要的是回到A,只有A任务,所以需要把C、D删除。另外,如果复杂的场景,流程图的线那边的代码还有一点问题,我改好了,代码还没上传,不过问题不大(因为有些图逻辑很复杂),看看逻辑自己改也行
from activiti-service.
非常感谢大神的指导,并行任务这个理解了,但是串行任务回退处理中的如果排他网关和并行网关没有父节点的话为什么还要执行删除操作,我看你在处理并行任务回退中如果并行网关没有父节点的话是抛出了异常?现在的问题就是我的截图中用红色线条框起来的部分不理解。请大神指导一下!
from activiti-service.
我也点忘记了,应该是查找网关父级这一块,因为你一个任务,肯定有父级的,有可能是并行任务汇聚到网关,查找网关的父级这种条件下,为空,所以执行了并行删除其他任务的逻辑
from activiti-service.
Related Issues (3)
- pom.xml 有问题吧 HOT 1
- dinghuang-framework-core 这个 jar 包的依赖没有啦 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activiti-service.