<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: defining a fork step in workflow</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>You're welcome.</FONT>
</P>

<P><FONT SIZE=2>Until you get access to SM58, you might try running RSARFCRD via SE38/SA38.&nbsp; It is the same program that SM58 runs, but without the Authorization-Check ;-)&nbsp;&nbsp;&nbsp; This transaction/program will let you know if there was a problem with the RFC in delivering the event (assuming it was created.)</FONT></P>

<P><FONT SIZE=2>Good luck.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: sap-wug-bounces@mit.edu [<A HREF="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</A>] On Behalf Of Sushil Guragain</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, August 17, 2005 2:19 PM</FONT>
<BR><FONT SIZE=2>To: SAP Workflow Users' Group</FONT>
<BR><FONT SIZE=2>Subject: RE: defining a fork step in workflow</FONT>
</P>

<P><FONT SIZE=2>Thanks Mike, William and Joe for your answers and suggestions!</FONT>
</P>

<P><FONT SIZE=2>I will try the SM58 (I have requested to that transaction) and see what went on there per Joe's suggestion. I think I understand the necessary branches now. It appears that the event did not get created but will have to check after I get access to SM58. </FONT></P>

<P><FONT SIZE=2>Thanks again,</FONT>
</P>

<P><FONT SIZE=2>Sushil</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: sap-wug-bounces@mit.edu [<A HREF="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</A>] On Behalf Of Mike Pokraka</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, August 17, 2005 11:03 AM</FONT>
<BR><FONT SIZE=2>To: SAP Workflow Users' Group</FONT>
<BR><FONT SIZE=2>Subject: RE: defining a fork step in workflow</FONT>
</P>

<P><FONT SIZE=2>Oracle Connector for Outlook?</FONT>
<BR><FONT SIZE=2>Odd mailer, not well behaved in it's mime/html handling (see your mail below).</FONT>
</P>

<P><FONT SIZE=2>Some of us choose to read mail in plain text as it's simpler, quicker, safer, so underlined didn't help me either.</FONT>
</P>

<P><FONT SIZE=2>I'll try to answer: If you need EITHER event then a 1 of 3 fork will do the job. If you need BOTH events, then you need a 2 of 2 fork in one branch of a 1 of 2 fork.</FONT></P>

<P><FONT SIZE=2>In other words n of m means that all other active branches will be cancelled once n branches have reached the end of the fork.</FONT></P>

<P><FONT SIZE=2>Hope that helps,</FONT>
<BR><FONT SIZE=2>Cheers</FONT>
<BR><FONT SIZE=2>Mike</FONT>
</P>

<P><FONT SIZE=2>Sushil Guragain wrote:</FONT>
<BR><FONT SIZE=2>&gt; &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt; </FONT>
<BR><FONT SIZE=2>&gt; &lt;HTML&gt;&lt;HEAD&gt; &lt;META http-equiv=Content-Type content=&quot;text/html; </FONT>
<BR><FONT SIZE=2>&gt; charset=us-ascii&quot;&gt; &lt;META content=&quot;MSHTML 6.00.2900.2722&quot; </FONT>
<BR><FONT SIZE=2>&gt; name=GENERATOR&gt;&lt;/HEAD&gt; &lt;BODY&gt; &lt;DIV dir=ltr align=left&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; color=#0000ff&gt;&lt;SPAN class=908173115-17082005&gt;&lt;FONT face=Arial&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;FONT color=#000000&gt;Sorry - I forgot to include the SAP </FONT>
<BR><FONT SIZE=2>&gt; documentation for the first question (which confused me) </FONT>
<BR><FONT SIZE=2>&gt; earlier:&lt;/FONT&gt; &lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;P&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; face=Arial&gt;&lt;FONT size=2&gt;To define a fork, you specify the number of </FONT>
<BR><FONT SIZE=2>&gt; parallel branches required with the step name. The fork, consisting of </FONT>
<BR><FONT SIZE=2>&gt; the &lt;I&gt;start operator&lt;/I&gt;, the branches each with an &lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=908173115-17082005&gt;    &lt;/SPAN&gt;&lt;SPAN class=908173115-17082005&gt;    </FONT>
<BR><FONT SIZE=2>&gt; &lt;/SPAN&gt;undefined step and the &lt;I&gt;join operator&lt;/I&gt;, is inserted into </FONT>
<BR><FONT SIZE=2>&gt; the workflow definition.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;To define the termination of the fork, &lt;U&gt;you enter the number </FONT>
<BR><FONT SIZE=2>&gt; of branches required and the condition.&lt;/U&gt; For more information about </FONT>
<BR><FONT SIZE=2>&gt; conditions, see the &lt;/FONT&gt;&lt;A </FONT>
<BR><FONT SIZE=2>&gt; href=&quot;<A HREF="http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4b9b2453d11d1" TARGET="_blank">http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4b9b2453d11d1</A></FONT>
<BR><FONT SIZE=2>&gt; 89430000e829fbbd/content.htm&quot;&gt;&lt;FONT</FONT>
<BR><FONT SIZE=2>&gt; face=Arial size=2&gt;Condition Editor&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;.&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;If you make no entry </FONT>
<BR><FONT SIZE=2>&gt; for the number of branches required, the system takes the number of </FONT>
<BR><FONT SIZE=2>&gt; branches.&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&gt; &lt;DIV&gt;&lt;SPAN class=908173115-17082005&gt;&lt;/SPAN&gt;&lt;FONT face=Arial&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;I have underlined the part that confused me -&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=908173115-17082005&gt; d&lt;/SPAN&gt;oes this mean I enter the number of </FONT>
<BR><FONT SIZE=2>&gt; branches required to end the &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;workflow &lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;(i.e., if I want workflow to end as soon as I receive one of </FONT>
<BR><FONT SIZE=2>&gt; the two events what do I put on number of branches required?&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=908173115-17082005&gt; 01 or 02 or 03&lt;/SPAN&gt;)&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=908173115-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&gt; &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt; &lt;HR </FONT>
<BR><FONT SIZE=2>&gt; tabIndex=-1&gt; &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Sushil Guragain </FONT>
<BR><FONT SIZE=2>&gt; [<A HREF="mailto:sguragain@interpublic.com">mailto:sguragain@interpublic.com</A>] &lt;BR&gt;&lt;B&gt;Sent:&lt;/B&gt; Wednesday, August </FONT>
<BR><FONT SIZE=2>&gt; 17,</FONT>
<BR><FONT SIZE=2>&gt; 2005</FONT>
<BR><FONT SIZE=2>&gt; 10:30 AM&lt;BR&gt;&lt;B&gt;To:&lt;/B&gt; SAP Workflow Users' Group&lt;BR&gt;&lt;B&gt;Subject:&lt;/B&gt; </FONT>
<BR><FONT SIZE=2>&gt; defining a fork step in workflow&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;/DIV&gt; </FONT>
<BR><FONT SIZE=2>&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=047393514-17082005&gt;Hi </FONT>
<BR><FONT SIZE=2>&gt; All,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN class=047393514-17082005&gt;Could someone please explain </FONT>
<BR><FONT SIZE=2>&gt; what the necessary branches (on the control pane of fork definition</FONT>
<BR><FONT SIZE=2>&gt; - end condition) means? I have 3 branches and need to make sure the WF </FONT>
<BR><FONT SIZE=2>&gt; listens for two events while it is doing normal WF steps on the third </FONT>
<BR><FONT SIZE=2>&gt; parallel branch. I need the workflow to go to those branches when it </FONT>
<BR><FONT SIZE=2>&gt; hears those events.</FONT>
<BR><FONT SIZE=2>&gt; Currently,</FONT>
<BR><FONT SIZE=2>&gt; I am noticing it listens to one event in some cases and both events in </FONT>
<BR><FONT SIZE=2>&gt; most cases. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN class=047393514-17082005&gt;Also, is there a way I can go </FONT>
<BR><FONT SIZE=2>&gt; back and read the workflow log for an instance to see if certain event </FONT>
<BR><FONT SIZE=2>&gt; raised? &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN class=047393514-17082005&gt;Issue at hand:</FONT>
<BR><FONT SIZE=2>&gt; I</FONT>
<BR><FONT SIZE=2>&gt; have a PO that is released and the terminating event for the step is </FONT>
<BR><FONT SIZE=2>&gt; RELEASED but the step is still in 'started' status and I see the PO is </FONT>
<BR><FONT SIZE=2>&gt; already released.</FONT>
<BR><FONT SIZE=2>&gt; Even when it is released directly in ME29N, it should receive the </FONT>
<BR><FONT SIZE=2>&gt; event and that branch should start. I looked at the technical details </FONT>
<BR><FONT SIZE=2>&gt; of WF log but don't see anything regarding which event was raised </FONT>
<BR><FONT SIZE=2>&gt; (which I see when I look at another instance that worked as expected). </FONT>
<BR><FONT SIZE=2>&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;How would I check if an event (that was </FONT>
<BR><FONT SIZE=2>&gt; supposed to</FONT>
<BR><FONT SIZE=2>&gt; trigger) did or did not trigger? Is there some report that will help </FONT>
<BR><FONT SIZE=2>&gt; me analyze this?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; face=Arial size=2&gt;&lt;SPAN class=047393514-17082005&gt;For future events I </FONT>
<BR><FONT SIZE=2>&gt; could turn the event trace on but I did not have it on when this </FONT>
<BR><FONT SIZE=2>&gt; happened. I don't know if it is recommended to turn on event trace in </FONT>
<BR><FONT SIZE=2>&gt; production either.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT </FONT>
<BR><FONT SIZE=2>&gt; face=Arial size=2&gt;&lt;SPAN class=047393514-17082005&gt;I appreciate your </FONT>
<BR><FONT SIZE=2>&gt; help.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT</FONT>
<BR><FONT SIZE=2>&gt; face=Arial size=2&gt;&lt;SPAN</FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN class=047393514-17082005&gt;Thanks,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</FONT>
<BR><FONT SIZE=2>&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN</FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial </FONT>
<BR><FONT SIZE=2>&gt; size=2&gt;&lt;SPAN </FONT>
<BR><FONT SIZE=2>&gt; class=047393514-17082005&gt;Sushil&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;pre&gt;This message </FONT>
<BR><FONT SIZE=2>&gt; contains information which may be confidential and privileged.</FONT>
<BR><FONT SIZE=2>&gt; Unless you are the intended recipient (or authorized to receive this </FONT>
<BR><FONT SIZE=2>&gt; message for the intended recipient), you may not use, copy, </FONT>
<BR><FONT SIZE=2>&gt; disseminate or disclose to anyone the message or any information </FONT>
<BR><FONT SIZE=2>&gt; contained in the message.&nbsp; If you have received the message in error, </FONT>
<BR><FONT SIZE=2>&gt; please advise the sender by reply e-mail, and delete the message.&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; Thank you very much.</FONT>
<BR><FONT SIZE=2>&gt; (A)</FONT>
<BR><FONT SIZE=2>&gt; &lt;/pre&gt;&lt;/BODY&gt;&lt;/HTML&gt;</FONT>
<BR><FONT SIZE=2>&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; SAP-WUG mailing list</FONT>
<BR><FONT SIZE=2>&gt; SAP-WUG@mit.edu</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug" TARGET="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></FONT>
<BR><FONT SIZE=2>&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=2>Mike Pokraka</FONT>
<BR><FONT SIZE=2>Senior Consultant</FONT>
<BR><FONT SIZE=2>Workflow Connections Ltd.</FONT>
<BR><FONT SIZE=2>Mobile: +44 (0)7786 910 855</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>SAP-WUG mailing list</FONT>
<BR><FONT SIZE=2>SAP-WUG@mit.edu</FONT>
<BR><FONT SIZE=2><A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug" TARGET="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></FONT>
<BR><FONT SIZE=2>This message contains information which may be confidential and privileged.</FONT>
<BR><FONT SIZE=2>Unless you are the intended recipient (or authorized to receive this message</FONT>
<BR><FONT SIZE=2>for the intended recipient), you may not use, copy, disseminate or disclose to</FONT>
<BR><FONT SIZE=2>anyone the message or any information contained in the message.&nbsp; If you have</FONT>
<BR><FONT SIZE=2>received the message in error, please advise the sender by reply e-mail, and</FONT>
<BR><FONT SIZE=2>delete the message.&nbsp; Thank you very much.</FONT>
<BR><FONT SIZE=2>(A)</FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>SAP-WUG mailing list</FONT>
<BR><FONT SIZE=2>SAP-WUG@mit.edu</FONT>
<BR><FONT SIZE=2><A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug" TARGET="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></FONT>
</P>

</BODY>
</HTML>