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?
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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.