<!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.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>Now
that I have realized that consignment documents cannot have release strategy and
our requirement is to trigger an approval workflow when a consignment
document is "changed" I thought of the following.</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>1.
Create a check function.</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>2.
Attach it (in SWEC) to change object EINKBELEG / BUS2013 / On Change
/ Changed(event in BUS2013)</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>3. The
check function triggers BUS2013/'RELEASESTEPCREATED'
event.</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>Now
this seems to be a solution, but its not working.</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>Why ??
</FONT></SPAN><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2>Because</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>1. It
seems that the check function is not called every time. After some analysis it
seems that if BUS2013/CHANGED does not have a receiver, it does not calls the
check function. Don't know if this is correct.</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>2.
When it is called </FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2> a) The database locks on EINK, EKPO etc are not released (strange
!!!)</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2> b) sometimes 2 RELEASESTEPCREATED are
triggered.</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff size=2>Any
ideas or tips ??</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=323465018-08102005><FONT face=Arial color=#0000ff
size=2>Manish</FONT></SPAN></DIV></BODY></HTML>