cancel
Showing results for 
Search instead for 
Did you mean: 

Error handling

ascott42
Champ in-the-making
Champ in-the-making
Hi,

We are evaluating Activiti framework for our new software in order to manage our functionnalities and not business process ! So it is a very specific use.

I have a question concerning error mangement with the API :

In a simple process with 4 automatics task, if the last one failed, is it possible to inform the 3 others already done that an error occurs ? The goal is to do an special treatment in every task before (error  treatment for example in order to be a good context).

Or maybe, is to be possible to come back to the first task with the API ? (without know his name)

Is it possible to draw it in BPMN 2.0 but the diagram become more complex, it will be better with the API I think !

I hope you understand.

Thanks for your helps.

1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
BPMN has some built-in constructs for that (error-events, for example) which allows you to take a specific path in your workflow when something goes wrong (a logical error) which is recoverable/handled in your diagram.

The API does not allow you to just "go back to" a specific part of the process, the engine executes the BPMN-diagram, folowing the rules of the sequence-flows.