cancel
Showing results for 
Search instead for 
Did you mean: 

Terminating Event Not Triggering

Former Member
0 Kudos

HI Guys,

I have added a custom task to call MRBR screen and set a Terminating Event for this task. It is a Asynch Method.

Through SAP_WAPI_CREATE_EVENT i am calling the terminating event but my task is not getting terminated.

I checked in SWEL i could see evnt log for my terminating event without Receiver type.

Kindly help me to sort out this issue.

Regards,

Dheepak

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Where have you written the code for triggering the termination event?

Also in your task have you created an entry:

WIOBJECT_ID FIPP TerminatingEvent Name.

When everything is done properly in SWEL you would see the receiver as workitem.

Thanks and Regards

Aman

Former Member
0 Kudos

Hi Gupta,

Thanks for ur reply i have given my terminating event in WI_OBJECT_ID only.

I am calling this event in a Enhancement spot.

In SWELS there is no receiver workitem.

Regards,

Dheepak

Former Member
0 Kudos

Dheepak,

When the scrren is called is your enhancement spot getting called or not?

Put a break point in your enhancement spot and check it.

Thanks.

former_member185167
Active Contributor
0 Kudos

Hello,

If there's no receiver then that means that it can't find a workflow with a matching key. Check the object key of the event against the object key of the workflow that you expected it to affect.

regards

Rick Bakker

Haabi Technology

Answers (1)

Answers (1)

Former Member
0 Kudos

Please also make sure the Method is defined as a Asynchronous method which is having the Terminating event.

Instead of using the Terminating event why dont you make use of Condition tab in Activity Step.

Here you set a flag that will be completeing the workitem.

Thanks

Arghadip