02-13-2018 07:54 AM
1: how to refuse approval, back to the last node processing? Do you offer API?
Start A I B I C I D I E I End I
For example, when I'm in the C link, I may refuse to approve or go back to a certain link (A, B, C) at C.
The official only provided the completed task API, and did not provide the refusal of the approval of the API.
2: how do you jump to any node?
Suggestion: if the official want to do the world's first class activiti open source, it should be examined in all aspects. On the two above, Chinese developers are very embarrassed. It is hoped that the official will increase the function above. Thank you very much!
The author uses the environment: activiti 6
02-13-2018 09:53 AM
I guess you saw Stone Yuan's reply on How can activiti 6 be rejected? This kind of situation can be handled using gateways. So every outgoing flow goes into a gateway and the gateway makes the decision about which task to move back depending upon the value of the outcome of the previous task (which will presumably be set in a variable). So each gateway will link back to every previous task. You will end up with a quite large diagram that will take a while to draw like:
But if you actually have more tasks than just A,B,C,D and E then that will make the diagram even bigger and a certain point it will become impractical.
03-05-2018 04:00 AM
There is a designer in the downloadable versions of Activiti e.g. the v6 kickstart app Download Now | Activiti.org
02-26-2018 01:49 AM
Thank you for your advice. I'll try it with the brother's code. Come back and put it back!
Explore our Alfresco products with the links below. Use labels to filter content by product module.