AnsweredAssumed Answered

How to control Task Listeners events when task is rolled back.

Question asked by swamy2156 on Jun 18, 2015
Latest reply on Jun 21, 2015 by trademak
Hi,

I have a simple workflow with 2 user tasks(synchronous) with task listener for all types of events(create, assignment, complete). When I am completing userTask1(UT1), userTask2(UT2) will be created and two events will be triggered - UT1 complete & UT2create . When there is some exception occurs during UT2 creation, transaction will be rollback and UT1 will be active but 2 task listener events are already triggered. These events misleading customers in real time( Production ).

Is there a way to control those events when transaction rollback? Any ideas?


Thanks,
Swamy.



Outcomes