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