<br><font size=2 face="sans-serif">Hi Thanks for that, it was along those
lines I was thinking. </font>
<br>
<br><font size=2 face="sans-serif">My workflow monitors the submission
of the trip for approval, it then sends the trip for approval and after
that to a back office for settlement. (so 2 blocks of activity Approval
and Settlement)</font>
<br>
<br><font size=2 face="sans-serif">The wait for change event runs in parallel
to these 2 sequential blocks of activity and ends the workflow if a change
occurs (or at least that's what I had in mind) so, a valid external change
could happen after the approval, when its waiting for settlement. I would
want the workflow to end, even though the Approval flag is set, how could
i modify your initial suggestion to accommodate this?</font>
<br>
<br><font size=2 face="sans-serif">Kind Regards<br>
<br>
John Haworth<br>
SAP PDM<br>
CSC<br>
 <br>
Euxton House, Euxton Lane, Chorley, PR7 6FE.<br>
|Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email: jhaworth@csc.com|www.csc.com<br>
<br>
CSC • 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. &nbsp;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 • CSC Computer Sciences Limited • Registered
Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ,
UK • Registered in England No: 0963578<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Sangvir Singh &lt;Sangvir.Singh@hcl.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">06/04/2011 13:25</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">RE: BUS2089 CHANGE and APPROVE events</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=#004080 face="Calibri">Hi,</font>
<br><font size=2 color=#004080 face="Calibri">When TRIP is getting approved,
it will be updating fields in database table( some flag or value). Now
you can create a check function module and attach it to ‘CHANGE’ wait
step. If the flag for approval is updated, it should create an exception
and hence would not trigger the wait for event step for “CHANGED”.</font>
<br><font size=2 color=#004080 face="Calibri">In case, it’s not approved
and only changed, the flag will not be updated and CHAGE event will fire
normally.</font>
<br><font size=2 color=#004080 face="Calibri">Hope this helps.</font>
<br><font size=2 color=#004080 face="Calibri">&nbsp;</font>
<br><font size=2 color=#004080 face="Arial">Thanks and Regards,</font>
<br><font size=2 color=#4040c2 face="Arial"><b>&nbsp;</b></font>
<br><font size=2 color=#4040c2 face="Arial"><b>Sangvir Singh</b></font>
<br><font size=2 color=#4040c2 face="Arial"><b>HCL Technologies Ltd</b>.</font>
<br><font size=1 color=#004080 face="Arial">A-91, Sector 2,Noida </font><font size=1 face="Arial">201301,
U.P. (India)</font>
<br><font size=1 color=#004080 face="Arial">Tel &nbsp;: </font><font size=1 face="Arial">+91-120-4613500
&nbsp;Extn. (2827)</font>
<br><font size=1 face="Arial">Mob: +91-9212019197 </font>
<br><a href=http://www.hcl.in/><font size=2 color=blue face="Arial"><b><u>www.hcl.in</u></b></font></a>
<br><img src=cid:_2_08F17C0808F17924004C08D28025786A alt=cid:image001.jpg@01CA5C7F.CF9941D0>
<br><font size=2 color=#004080 face="Calibri">&nbsp;</font>
<br><font size=2 face="Tahoma"><b>From:</b> sap-wug-bounces@mit.edu [</font><a href="mailto:sap-wug-bounces@mit.edu"><font size=2 face="Tahoma">mailto:sap-wug-bounces@mit.edu</font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>John Haworth<b><br>
Sent:</b> Wednesday, April 06, 2011 5:30 PM<b><br>
To:</b> SAP Workflow Users' Group<b><br>
Subject:</b> BUS2089 CHANGE and APPROVE events</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 face="Arial"><br>
Hi</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Arial"><br>
I have a new workflow for TRIP approvals. I have an issue, in that in my
workflow I have two wait for event legs, that are waiting for event APPROVED
and event CHANGED, as the trip could be approved outside of the workflow
(and /or changed outside the workflow)</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="Arial"><br>
The problem is that when the TRIP is approved, both CHANGE and APPROVE
events are issued, seeing the CHANGE event ends my workflow.</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="Arial"><br>
I only want to recognise the change event, when it happens from outside
the workflow, I thought a check function module on the change event, but
how do I determine if the event was as a result of the TRIP being approved,
or changed outside of the workflow (it could be approved outside of the
workflow too).</font><font size=3 face="Times New Roman"> </font><font size=2 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 face="Arial"><br>
Kind Regards<br>
<br>
John Haworth<br>
SAP PDM<br>
CSC<br>
<br>
Euxton House, Euxton Lane, Chorley, PR7 6FE.<br>
|Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email: jhaworth@csc.com|www.csc.com<br>
<br>
CSC • 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. &nbsp;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 • CSC Computer Sciences Limited • Registered
Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ,
UK • Registered in England No: 0963578</font>
<p><font size=3><br>
</font>
<hr><font size=1 color=#808080 face="Arial">::DISCLAIMER::<br>
-----------------------------------------------------------------------------------------------------------------------<br>
<br>
The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.<br>
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in<br>
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates.<br>
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of<br>
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have<br>
received this email in error please delete it and notify the sender immediately.
Before opening any mail and<br>
attachments please check them for viruses and defect.<br>
<br>
-----------------------------------------------------------------------------------------------------------------------</font><tt><font size=2>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><font size=2>http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a><tt><font size=2><br>
</font></tt>
<p>
<p>