<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>From Portal an RFC is called, that RFC in turn is created in R/3 and that will trigger the Wait event in workflow and in workflow we have a task that will update the approver's comments and decision into a Ztable, that can be used later on as a history.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>Albina<BR></DIV><DIV><BR><DIV><BR></DIV><FONT color=#990099>-----sap-wug-bounces@mit.edu wrote: -----<BR><BR></FONT><BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>From: John A Haworth &lt;jhoworth@csc.com&gt;<BR>Sent by: sap-wug-bounces@mit.edu<BR>Date: 11/27/2007 03:10AM<BR>Subject: Re: Scenario for Wait event<BR><BR><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2>Hi </FONT><BR><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2>What is it you send to the approver, How do you capture the Approvers comments and the approvers reject or accept, and bring them back into the workflow. <BR></FONT><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2>Cheers </FONT><BR><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2>John </FONT><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><BR>CSC Computer Sciences Limited <BR>Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ, UK <BR>Registered in England No: 0963578 <BR><BR>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <BR>This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. <BR>NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. <BR>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <BR></FONT><BR><BR><BR><TABLE width="100%"><TBODY><TR vAlign=top><TD width="40%"><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1><B>"Albina Fernando" &lt;albinafernando@gmail.com&gt; </B></FONT><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>Sent by: sap-wug-bounces@mit.edu </FONT><BR><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>27/11/2007 00:38 </FONT><TABLE border=1><TBODY><TR vAlign=top><TD bgColor=white><DIV align=center><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>Please respond to <BR>"SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt; </FONT></DIV></TD></TR></TBODY></TABLE><BR><TD width="59%"><TABLE width="100%"><TBODY><TR vAlign=top><TD><DIV align=right><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>To </FONT></DIV><TD><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>SAP-WUG@mit.edu </FONT><TR vAlign=top><TD><DIV align=right><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>cc </FONT></DIV><TD>&nbsp;<TR vAlign=top><TD><DIV align=right><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>Subject </FONT></DIV><TD><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=1>Scenario for Wait event </FONT></TD></TR></TBODY></TABLE><BR><TABLE><TBODY><TR vAlign=top><TD>&nbsp;<TD>&nbsp;</TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE><BR><BR><BR><FONT size=3>Hi, </FONT><BR><FONT size=3>&nbsp; </FONT><BR><FONT size=3>&nbsp; I have a scenario wherein the wrokitem is sent to many approvers at the same time. For this I've used a Fork, that has 4 branches </FONT><BR><FONT size=3>&nbsp; </FONT><BR><FONT size=3>1) one branch that contains a subworkflow , </FONT><BR><FONT size=3>2) one branch that will send an email to all the approvers, </FONT><BR><FONT size=3>3) one branch that will wait for the approvers decision, </FONT><BR><FONT size=3>4) one branch in which there is a deadline date of 8 days set. Under Requested Start tab, the deadline of 8 days is given using an expression. So after 8 days, if still the approval is not complete, then this branch will execute and it will terminate the workflow </FONT><BR><FONT size=3>&nbsp; </FONT><BR><FONT size=3>the first branch, will send work items to all approvers at the same time. Now when each workitem is complete i.e each approver approves/rejects, then the Outcome "Step Executed" will execute and it will trigger a Wait event say WaitforApproverDecision( i.e it will capture the approvers decision) and once this trigger event is complete, it will again trigger an event ApproverdecisionUpdt(here an event creator is used) to go to the main workflow and execute the 3rd branch in the main workflow. the 3rd branch contains a loop until step type that will keep track of the # of approvers approved and also it will update each approvers decisionm comments etc into a Ztable, and it will again wait for an event to trigger from the subworkflow. </FONT><BR><FONT size=3>&nbsp; </FONT><BR><FONT size=3>Now here the problem is if one approver approves, then it will start with the execution as mentioned above. Now if there is a delay in the completion of event ApproverdecisionUpdt and updation of the Ztable via the main workflow, then what will happen in that case. And again another approver approves by that time, then will the receiver receive the event ApproverdecisionUpdt accordingly. </FONT><BR><FONT size=3>&nbsp; </FONT><BR><FONT size=3>I'm not sure if anyone has come across this scenario. &nbsp;But please let me know your inputs for the same. </FONT><BR><FONT size=3>&nbsp; </FONT><BR><FONT size=3>Attached are the graphical views of the main workflows and the subworkflows. </FONT><BR><FONT size=3>&nbsp; </FONT><FONT size=2><TT>_______________________________________________ <BR>SAP-WUG mailing list <BR>SAP-WUG@mit.edu <BR>http://mailman.mit.edu/mailman/listinfo/sap-wug <BR></TT></FONT><BR><BR>______________________________________________________________________ <BR><FONT face="Default Monospace,Courier New,Courier,monospace" size=2>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></FONT><BR></BLOCKQUOTE><BR></DIV></FONT>This email may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient&#44; please do not use or disseminate the information&#44; notify the sender and delete it from your system. Thanks<br />
<BR>
______________________________________________________________________<BR>