cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti is ineffective in China, and hopes to attract official attention.

hubiao
Champ in-the-making
Champ in-the-making

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

1 ACCEPTED ANSWER

ryandawson
Elite Collaborator
Elite Collaborator

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.

View answer in original post

11 REPLIES 11

ryandawson
Elite Collaborator
Elite Collaborator

There is a designer in the downloadable versions of Activiti e.g. the v6 kickstart app Download Now | Activiti.org 

hubiao
Champ in-the-making
Champ in-the-making

Thank you for your advice. I'll try it with the brother's code. Come back and put it back!