cancel
Showing results for 
Search instead for 
Did you mean: 

Task with Terminating Events

former_member317781
Active Participant
0 Kudos

Hi Good day,

Before posting this thread i have gone through all the threads but i dint really get hence am posting

Here is my Scenario:

Am creating workflow for CRM Service Request for BUS2000223 delegated to ZBUS2000223.

1.I trigger the workflow by a BADI when the STATUS = SENDTO(E0002) using the FM\

2. I get the workitem to my inbox and i just open but do not change the STATUS and just close it, once i close the workitem goes off.

3. To keep the workitem till I change the STATUS from E0002 to E0003 the workitem should stay back in my inbox.

4. For this i have created one more EVENT call 'INPROGRESS'. for the above task i have created TERMINATING EVENTS

But as soon as i get the workitem before i change the status and close, the workitem goes off.

What am i missing, can anyone please shed some light on it.

thank you,

j.

Accepted Solutions (0)

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Kudos

Hi,

if in case you want to go with the approach of terminating events then you should make the task asynchronous task. I mean you should disable / un-check the checkbox "Synchronous Object Method."

The second option would be just remove the terminating event and implementation code of raising the terminating event from within the function module. Enable the check box "Confirm End of Processing" and keep other things as it is in the below screen shot.

I hope these approaches should help you to resolve your issues.

Thanks, Pavan