Terminating events for created objects

Breslavets, Sergey Sergey.Breslavets at anheuser-busch.com
Mon Dec 9 14:21:08 EST 2002


Hi Flavio,
 
you're absolutely right - your task is not terminated because you're creating a
new object outside of the workflow.
 
When the asynchronous task creates a new object instance, instance linkage is
setup for the workitem id, object key field is left blank (it's not known yet).
Therefore, when you create the object outside of the workflow, workitem id is
not passed to the event manager, and it does not know what workitem/workflow it
relates to.
 
e.g.: if you have two workitems from two separate instances of your workflow in
your inbox, and you've created document using FK01... which workitem should be
terminated?
 
Regards,
Sergey
 
 
-----Original Message-----
From: Flavio Oliveira [mailto:oliveiraflavio at hotmail.com]
Sent: Monday, December 09, 2002 12:17 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Terminating events for created objects
 
 
Hi all:
 
I have an asynchronous task that creates an object (Vendor master data -
Financial view). If I run my task from workflow (executing the message), the
event generated (because of the vendor creation) is terminating my task
correctly (what I was expecting)...
 
The problem is when I create the object outside workflow (directly via the
transaction FK01). When I do this, the event is raised correctly, but my
task is not terminated. What can be wrong??
 
I think that this is because I am creating a new object and not updating
one, but I am not sure.
 
Is there anything to be done??
 
Thanks for the help.
 
Flavio.
 
 
 
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
 


More information about the SAP-WUG mailing list