cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: "No terminating events defined for the task used"

former_member343107
Participant
0 Kudos

Dear all,

I created a task with ABAP class and method as its object method. This task is a background task. The ABAP class inherits the IF_WORKFLOW interface but doesn't implement any method of the interface.

When I try to confirm the task settings in transaction SWDD, a message shows up "No terminating events defined for the task used" and I cannot continue the work. Does anybody have any idea what I should do?

Thanks + Best Regards

Jerome

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jerome,

If you set a background task in your workflow, and if it is asynchronous, then you need some way to tell the template if it is finished and what happened. In this case you set terminating events - that is events which are published in the system as a result of your method (ie document.posted etc).

Either use a synchronous method for your task or set appropriate terminating events in your task setup.

Regards

Gareth

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jerome,

you had set a background task in your workflow, check whether its asynchronous or synchronousand if it is asynchronous, then you had to give terminating events

or else make it as synchronous then ur problem will be solved.

Regards

rose

former_member343107
Participant
0 Kudos

Thanks a lot, all the guys!

Best Regards

Jerome

pokrakam
Active Contributor
0 Kudos

Hello,

The synch/asych is controlled in the task for classes - as opposed to BOR where this is set on the method.

Set the Synchronous flag on in your task and life shall be good.

Cheers,

Mike