Package pro.taskana.spi.task.api
Interface TaskEndstatePreprocessor
public interface TaskEndstatePreprocessor
-
Method Summary
-
Method Details
-
processTaskBeforeEndstate
Perform any action before a Task goes into an end state. A Task goes into an end state at the end of the following methods: TaskService.completeTask(String), TaskService.cancelTask(String), TaskService.terminateTask(String).This SPI is executed within the same transaction staple as TaskService.completeTask(String), TaskService.cancelTask(String), TaskService.terminateTask(String).
This SPI is executed with the same UserPrincipal and GroupPrincipal as in the methods mentioned above.
-