<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff size=2>Hi
Mark, just got back to this. You hit it right on the head. There are
two instances of the custom event('Reviewed'); one of type 'workitem' and one of
type 'eventitem'. The type 'eventitem' is the waiting version of the event
and sure enough it has the right workitem id but the wrong key. I'm confused as
to why it has the correct receiver key but yet the wrong object key. It's
almost as if it stored that last key used. So how would I go about
properly preparing the waiting event.</FONT></SPAN></DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff size=2>Thanks
much, you've been very helpful.</FONT></SPAN></DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff
size=2>Kevin</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>Mark Pyc<BR><B>Sent:</B> Wednesday, July 26, 2006 7:29 AM<BR><B>To:</B>
SAP Workflow Users' Group<BR><B>Subject:</B> Re: Receiver not entered
error<BR><BR></FONT></DIV>
<DIV>G'day Kevin,</DIV>
<DIV> </DIV>
<DIV>If the event raised is 01 and the wait for event is expecting 00 then
they won't match up. You can see which instance the wait for event is
expecting either in Extras > Instance Linkage from the Wait Workitem, or
from txn SWEINST. </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>If the object key can change you need to ensure that any
existing wait event is still logically correct.</DIV>
<DIV> </DIV>
<DIV>Have fun,</DIV>
<DIV>Mark<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 7/26/06, <B class=gmail_sendername>May,
Kevin</B> <<A
href="mailto:KMay@petro-canada.ca">KMay@petro-canada.ca</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<P><FONT face=Arial size=2>Hi folks, I've got a bizarre sort of
problem. I've got a workflow that seems to be error free end to end
when I use the diagnostic tool. In practice it works fine as well
however in one instance I get an error I cannot understand. The
workflow has a 'wait for event activity', the event it is waiting for is a
custom event from a custom BOR. The key of the BOR are two char
fields, one 20 chars long the other 2 chars. In the second key
represents an iterative entry for example '00' and then '01'.
</FONT></P>
<P><FONT face=Arial size=2>The user typically will create a document with a
key i.e. 'Some text' & '00' and then submit it to workflow. This
works wonderfully and the various steps and conditions of the workflow
execute without error. However when the user makes a revision to the
document resulting with a new key i.e. 'Some text' & '01' and
triggers the workflow, when the event is raised from the custom BOR it
goes into error with 'Receiver not entered'. The workflow stalls at
the 'wait for event' step in the workflow. I used the workflow trace
and all the containers appear to be loaded correctly, the workitem is
sitting with the correct agent. I really don't understand why when the
event is raised for 'Some text' & '00' it works fine however when it is
'Some text' & '01' it has the receiver not entered error. Any help
offered will be appreciated. </FONT></P>
<P><FONT face=Arial size=2>Kevin </FONT></P></DIV>
<DIV> </DIV>
<DIV align=center>
<HR>
</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>This email communication is intended as a
private communication for the sole use of the primary addressee and those
individuals listed for copies in the original message. The information
contained in this email is private and confidential and If you are not an
intended recipient you are hereby notified that copying, forwarding or other
dissemination or distribution of this communication by any means is
prohibited. If you are not specifically authorized to receive this
email and if you believe that you received it in error please notify the
original sender immediately. We honour similar requests relating to
the privacy of email communications. </FONT></DIV>
<DIV style="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<P> </P>
<P><FONT face=Arial size=2>Cette communication par courrier électronique est
une communication privée à l'usage exclusif du destinataire principal ainsi
que des personnes dont les noms figurent en copie. Les renseignements
contenus dans ce courriel sont confidentiels et si vous n'êtes pas le
destinataire prévu, vous êtes avisé, par les présentes que toute
reproduction, transfert ou autre forme de diffusion de cette communication
par quelque moyen que ce soit est interdite. Si vous n'êtes pas
spécifiquement autorisé à recevoir ce courriel ou si vous croyez l'avoir
reçu par erreur, veuillez en aviser l'expéditeur original
immédiatement. Nous respectons les demandes similaires qui touchent la
confidentialité des communications par courrier électronique.
</FONT></P></DIV></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>SAP-WUG
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://mailman.mit.edu/mailman/listinfo/sap-wug"
target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>