how to mark the service task is successful or failed

cancel
Showing results for 
Search instead for 
Did you mean: 
anu9
Member II

how to mark the service task is successful or failed

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?

1 Reply
pault
Active Member II

Re: how to mark the service task is successful or failed

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