Skip to Content
0
Feb 05, 2009 at 04:22 AM

Problems in "Terminate Process" callable object

31 Views

Dear all,

I am using callable object Terminate Process in my process :-

1. RequestAction
           ---if success --> ApproveAction 
           ---if canceled --> TerminateProcessAction

2. ApproveAction
          ---if approved --> sendApprovedMailAction ---> Terminal
          ---if rejected -->   sendRejectedMailAction ---> Terminal

I have observed that sometimes this TerminateProcess action never completes and it results into piling up many TerminateProcessActions in user's inbox (or under GP-runtime - tasks waiting for your action).

And I noticed that when user clicks on "Cancel" button (this sets resultState as "canceled"), a message Next activity is not yet possible, Try again after sometime by clicking REFRESH button appears and a Never Ending "TerminateProcessAction" gets added to task-list.

And this doesn't happen every time !!! Sometimes process gets terminated successfully. I am not able to figure out reason + solution for this problem.

Please help me with this.

Thanks and regards,

Amey Mogare

Edited by: Amey Mogare on Feb 5, 2009 5:46 AM