How to call a java class at task complete?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Established Member

How to call a java class at task complete?

Hi Team,

     I am using activiti in my spring web application. I need to call a java at task complete. Please let me know if you have an idea.

Thanks

1 Reply
Highlighted
Senior Member II

Re: How to call a java class at task complete?

Various options:

  1. If it is a user task: use the Task listener and execute your logic on task complete/
  2. Use an execution listener and execute logic on end event
  3. Execute your logic via a service task and configure the service task right after the user task
  4. use an event listener and execute your logic on task complete event.

Check Activiti User Guide  for more details on all these options.