02-03-2018 09:11 PM
How can activiti 6 be rejected?
The scene is as follows
A, B, C, D
I hope to be able to refute C in the D link. The logs approved before C are still in, but C can be approved again.
Environmental Science: activiti 6.0 + java1.8
02-06-2018 08:19 AM
Could you post your BPMN diagram and/or XML and any code snippets you might have? I'm afraid it is hard to understand your description.
02-07-2018 08:58 PM
I think his English is as pool as me~
I think he want to implement the feature like below
SatrtEvent------UserTask A------UserTask B---------UserTask C--------UserTask D------EndEvent
If the assignee of D agree, the process go to end event. If reject, the process back to C.
But there isn't sequenceFlow from D to C.
In order to solve this problem, we should add a gateway between D and EndEvent when designing the BPMN diagram.
But if B and C will reject too, there are too many gateways and sequenceFlows.
Before 6.x , I solved this problem by pvm. Now I solved this problem by BpmnModel.
I wish I have described what I thought clearly. haha~
02-08-2018 09:20 PM
是国内的兄弟吗?能 不能把你的代码贴出来?
03-09-2018 09:32 PM
国内的兄弟,你的问题解决了吗,我也在研究这块,也是用BpmnModel,单线程可以实现,但是有了分支以后,分支同时撤回到主线上,就出问题了,同一个任务出现在多个Execution中,目前还没解决。你怎么弄得
02-08-2018 09:32 PM
Are you still there? Can you put your code out
03-09-2018 09:38 PM
Hi Yuan,i meet the same problem u now!And i used BpmnModel too,then it can solve this problem on the scene of single wire,but if there are any branch,it does not work. It will produce the same task on multiple wires.So can u help me ?How did u solve this problem for multiple wire,can u paste your code out?
Thank u
Best regard
02-08-2018 09:23 PM
SatrtEvent------UserTask A------UserTask B---------UserTask C--------UserTask D------EndEvent
When my task node D refuses, it should be returned to the C processing.
Excuse me, is there a API in activiti?
This scene is too common.
Explore our Alfresco products with the links below. Use labels to filter content by product module.