I am sending CG56 workitem to sap inbox which contains two terminating events approve and reject. same task ( cg56 ) is used 3 times in the workflow sequentially.
First & Second time it reads the terminating events and the workflow process further
But for third time when the workitem in the inbox is processed successfully, workitem is still seen in the INBOX with status in process. The Terminating event (approve or reject) is fired but the workflow log shows the event has not terminated the workitem and wofkflow has not proceeded further as if no event was fired.
Now when i try to again execute the same workitem that is in status inprocess and come back without updating the trancation, the workitem disappears and now the workflow log shows the the third step is executed and workflow proceeds further.
I am not able to understand the problem.