10-12-2017 02:44 PM
I am building an app where i am not using activiti for persistance or it UI.
I create a pure java activiti workflow and deploy and run it. The tasks are all implementation of delegate.
I am transforming the workflow model definition containing sequence flows and tasks and running it via activiti.
If everything goes fine workflow runs fine. But if any task in between fails it still continues to execute the next task.
is there any way in activiti it can be handled or i have to handle all these cases in the delegate implementation itself?
02-21-2019 12:36 PM
Not sure what type of failure you mean, but BPMN does allow the definition of error events to handle business exceptions (rather than java exceptions). Haven't used them myself, but there is more in the user guide section on BPMN constructs Activiti User Guide
Explore our Alfresco products with the links below. Use labels to filter content by product module.