<br><font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">Cheers</font>
<br>
<br><font size=2 face="sans-serif">John</font>
<br><font size=2 face="sans-serif"><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%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Albina Fernando&quot;
&lt;albinafernando@gmail.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">27/11/2007 00:38</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">SAP-WUG@mit.edu</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Scenario for Wait event</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></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 &quot;Step Executed&quot; 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>