AnsweredAssumed Answered

Facing issue with Task complete event

Question asked by ganeshr on Mar 13, 2014
Latest reply on Mar 17, 2014 by ganeshr
I'm publishing some events to notify user about task completion whenever a task complete event is fired using task listener . I'm using formService.submitTaskFormData(taskId, formVariables); to complete the task.

in some cases  after the compelte event is getting fired, task is not getting completed due to some error in the business process and getting rollbacked. Due to this whatever my business logic to send/notify users about task complete is getting executed eventhough task is not completed which is not the right way.
Is the task complete event fires after task is compelted or whenever a task is about to be completed? can we fire task comeplete event only after task is completed successfully? can any one suggest..