on 06-12-2007 3:52 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.