<div>It's hard to say without seeing your design, but I would assume that the key of the object is changing mid-flow and if so I don't have an easy answer.&nbsp;I've never had that situation myself.&nbsp;</div>
<div>&nbsp;</div>
<div>However your description makes it sound as if you are starting a new instance of the flow with the new key, but the wait for event is on the old version&nbsp;- that sounds improbable, but maybe something weird is going on.
</div>
<div>&nbsp;</div>
<div>Sorry not to be of more help...</div>
<div>&nbsp;</div>
<div>Have fun,</div>
<div>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/26/06, <b class="gmail_sendername">May, Kevin</b> &lt;<a href="mailto:KMay@petro-canada.ca">KMay@petro-canada.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div><span><font face="Arial" color="#0000ff" size="2">Hi Mark, just got back to this.&nbsp; You hit it right on the head.&nbsp; There are two instances of the custom event('Reviewed'); one of type 'workitem' and one of type 'eventitem'.&nbsp; 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.&nbsp; It's almost as if it stored that last key used.&nbsp; So how would I go about properly preparing the waiting event.
</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">Thanks much, you've been very helpful.</font></span></div></div>
<div><span class="sg">
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">Kevin</font></span></div></span></div>
<div><span class="e" id="q_10cac3d2638c9449_2">
<blockquote style="MARGIN-RIGHT: 0px">
<div></div>
<div lang="en-us" dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> <a title="mailto:sap-wug-bounces@mit.edu" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a> [mailto:<a title="mailto:sap-wug-bounces@mit.edu" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <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>&nbsp;</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 &gt; Instance Linkage from the Wait Workitem, or from txn SWEINST. 
</div>
<div><font face="Arial" color="#0000ff" size="2"></font>&nbsp;</div>
<div>If the object key can change you need to ensure that&nbsp;any existing&nbsp;wait event is still logically correct.</div>
<div>&nbsp;</div>
<div>Have fun,</div>
<div>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/26/06, <b class="gmail_sendername">May, Kevin</b> &lt;<a title="mailto:KMay@petro-canada.ca" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:KMay@petro-canada.ca" target="_blank">
KMay@petro-canada.ca</a>&gt; 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.&nbsp; I've got a workflow that seems to be error free end to end when I use the diagnostic tool.&nbsp; In practice it works fine as well however in one instance I get an error I cannot understand.&nbsp; The workflow has a 'wait for event activity', the event it is waiting for is a custom event from a custom BOR.&nbsp; The key of the BOR are two char fields, one 20 chars long the other 2 chars.&nbsp; In the second key represents an iterative entry for example '00' and then '01'.&nbsp; 
</font></p>
<p><font face="Arial" size="2">The user typically will create a document with a key i.e. 'Some text' &amp; '00' and then submit it to workflow.&nbsp; This works wonderfully and the various steps and conditions of the workflow execute without error.&nbsp; However when the user makes a revision to the document resulting with a new key 
i.e. 'Some text'&nbsp; &amp; '01' and triggers the workflow,&nbsp; when the event is raised from the custom BOR it goes into error with 'Receiver not entered'.&nbsp; The workflow stalls at the 'wait for event' step in the workflow.&nbsp; I used the workflow trace and all the containers appear to be loaded correctly, the workitem is sitting with the correct agent.&nbsp; I really don't understand why when the event is raised for 'Some text' &amp; '00' it works fine however when it is 'Some text' &amp; '01' it has the receiver not entered error.&nbsp; Any help offered will be appreciated. 
</font></p>
<p><font face="Arial" size="2">Kevin </font></p></div>
<div>&nbsp;</div>
<div align="center">
<hr>
</div>
<div>&nbsp;&nbsp;</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.&nbsp; 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.&nbsp; We honour similar requests relating to the privacy of email communications. 
</font></div>
<div style="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<p>&nbsp;</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.&nbsp; 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.&nbsp; 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.&nbsp; 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 title="mailto:SAP-WUG@mit.edu" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">
SAP-WUG@mit.edu </a><br><a title="http://mailman.mit.edu/mailman/listinfo/sap-wug" 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></span></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>