AnsweredAssumed Answered

ActivityBehavior

Question asked by sapra on Mar 4, 2012
Latest reply on Mar 5, 2012 by sapra
Hi,
I notice that when I added a service task that implements ActivityBehavior, the process from then on is not behaving as expected.

I need to implement exception handling in my process and I am trying to control the flow by using AB implementation.
The process takes the proper flow identified by the code, but, it appears to run through the rest of the process steps without waiting at the user task.

I see the following in the Activiti user guide:
Note however that this is not a very good practice, and should be avoided as much as possible. So, it is advised to use the ActivityBehavior interface only for advanced use cases and if you know exactly what you're doing.

In my process , I have a java service task  implementing AB and other service tasks which are spring beans.
What exactly I should be taking care of in my AB implementation ?

appreciate any pointers.
thanks
Saprar

Outcomes