Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 04:35 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 10:09 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 12, 2007 at 09:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.