defining a fork step in workflow

Mike Pokraka wug.replies at workflowconnections.com
Wed Aug 17 12:02:56 EDT 2005


Oracle Connector for Outlook?
Odd mailer, not well behaved in it's mime/html handling (see your mail
below).

Some of us choose to read mail in plain text as it's simpler, quicker,
safer, so underlined didn't help me either.

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.
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.
Hope that helps,
Cheers
Mike

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


Mike Pokraka
Senior Consultant
Workflow Connections Ltd.
Mobile: +44 (0)7786 910 855


More information about the SAP-WUG mailing list