<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Mike,<BR>
&nbsp;<BR>
By any chance could the 'new'&nbsp;Conditions&nbsp;feature be used in this case as an alternative to a terminating event approach?<BR>&nbsp;<BR>
I've been having a peek at SWWCOND job (Condition Evaluation)&nbsp;and the new SWW_WIREGISTER table and can see some potential there to bypass the traditional event queue (with all its limitations and performance overhead).<BR>
&nbsp;<BR>
An example might be to specify a 'Complete Work Item' condition on a wait step should the status of a document instance be found to equal a constant value when the job is run.<BR>
&nbsp;<BR>
I'm also curious as to what other 'applications' could start to appear in this framework (other than 'CND') we might expect to see crop up in future. My initial thoughts were&nbsp;self-registering Workflows for automatic archiving...<BR>
&nbsp;<BR>
As yet the info on this&nbsp;feature is pretty scarce.<BR>
&nbsp;<BR>
Regards,<BR>
&nbsp;<BR>
Mike GT<BR>
<BLOCKQUOTE>
<HR>
From: wug@workflowconnections.com<BR>To: sap-wug@mit.edu<BR>Subject: RE: Complete event for workitem<BR>Date: Tue, 20 May 2008 11:31:48 +0100<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_gmailquote
{;}
.ExternalClass span.EC_e
{;}
.ExternalClass span.EC_q
{;}
.ExternalClass span.EC_EmailStyle21
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .EC_MsoChpDefault
{;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass div.EC_Section1
{page:Section1;}

</STYLE>

<DIV class=EC_Section1>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Ah, that’s not how you originally described it.... </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Anyways, this is purely a matter of aesthetics, there is no significant performance impact of having a raise event step since it doesn’t do all the logging associated with an activity step. </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">You can always raise your event in an exit (workflow builder, exit tab). It will look neater but be harder to follow for someone else what’s going on. </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">&nbsp;</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Cheers, </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Mike</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">&nbsp;</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">&nbsp;</SPAN></P>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=EC_MsoNormal><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Gourav Poddar<BR><B>Sent:</B> 20 May 2008 08:40<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> Re: Complete event for workitem</SPAN></P></DIV></DIV>
<P class=EC_MsoNormal>&nbsp;</P>
<DIV>
<P class=EC_MsoNormal>Actually the problem is this this task is used in multiple cases and every time i need to raise a event everytime the task occurs is &nbsp;bit untidy i feel.</P></DIV>
<DIV>
<P class=EC_MsoNormal>Can you please suggest a alternative or do we have something to to embbed both the dialog step and the event raising in one step.<BR><BR>&nbsp;</P></DIV>
<DIV>
<P class=EC_MsoNormal><SPAN class=EC_gmailquote>On 5/19/08, <B>Mike Pokraka</B> &lt;<A href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>&gt; wrote:</SPAN> </P>
<DIV>
<DIV>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">Hmmm, one of us doesn't understand something here. You have a dialog step. After the dialog step you can put a raise event step. This event signals to your other WF that the WF in question has reached a certain stage. What's untidy about that? </SPAN><BR>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">&nbsp;</SPAN><BR>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">&nbsp;</SPAN><BR>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<B><SPAN lang=EN-US style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt"> <A href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [mailto:<A href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] <B>On Behalf Of </B>Gourav Poddar<BR><B>Sent:</B> 18 May 2008 09:39<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> Re: Complete event for workitem</SPAN><BR></DIV></DIV>
<DIV>
&nbsp;<BR>
<DIV>
but there are many dialog workitems in the system already. i can always track their workitem ID but not their status.<BR></DIV>
<DIV>
if i need to add a event i need to do that after every dialog workitem, that will be untidy.<BR></DIV>
<DIV>
&nbsp;<BR></DIV>
<DIV>
regards,<BR></DIV>
<DIV>
Gourav<BR><BR>&nbsp;<BR></DIV>
<DIV>
On 5/18/08, <B>Mike Pokraka</B> &lt;<A href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>&gt; wrote: <BR>
<DIV>
<DIV>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">Nope, but you can always create an event in your workflow using the create event step. </SPAN><BR>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">Cheers, </SPAN><BR>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">Mike</SPAN><BR>
<SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d">&nbsp;</SPAN><BR>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<B><SPAN lang=EN-US style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt"> <A href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [mailto:<A href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] <B>On Behalf Of </B>Gourav Poddar<BR><B>Sent:</B> 17 May 2008 14:32<BR><B>To:</B> <A href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><B>Subject:</B> Complete event for workitem</SPAN><BR></DIV></DIV>
<DIV>
&nbsp;<BR>
<DIV>
Hello Experts,<BR></DIV>
<DIV>
&nbsp;<BR></DIV>
<DIV>
I have a problem that we have two parallel workflows. We need to trigger a workflow task in one of the&nbsp;workflows&nbsp;based&nbsp;when&nbsp;a user decision in other workflow is completed.<BR></DIV>
<DIV>
We have the workitem ID of the user decision which we need to track.<BR></DIV>
<DIV>
&nbsp;<BR></DIV>
<DIV>
Can anyone let us know if there is a event in system which is triggered when a dialog workitem is completed.<BR></DIV>
<DIV>
thanks in advance to you.<BR></DIV>
<DIV>
&nbsp;<BR></DIV>
<DIV>
Regards,<BR></DIV>
<DIV>
Gourav<BR></DIV>
&nbsp;<BR></DIV>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3106 (20080516) __________<BR>
&nbsp;<BR>
The message was checked by ESET NOD32 Antivirus.<BR>
&nbsp;<BR>
<A href="http://www.eset.com/" target=_blank>http://www.eset.com</A><BR></DIV></DIV>
<BR><BR>__________ Information from ESET NOD32 Antivirus, version of virus signature database 3106 (20080516) __________<BR><BR>The message was checked by ESET NOD32 Antivirus.<BR><BR><A href="http://www.eset.com/" target=_blank>http://www.eset.com</A><BR>&nbsp;<BR></DIV>
<P style="MARGIN-BOTTOM: 12pt"><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A></P></DIV>
&nbsp;<BR>
&nbsp;<BR></DIV>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3110 (20080519) __________<BR>
&nbsp;<BR>
The message was checked by ESET NOD32 Antivirus.<BR>
&nbsp;<BR>
<A href="http://www.eset.com/" target=_blank>http://www.eset.com</A><BR></DIV></DIV>
<P class=EC_MsoNormal><BR><BR>__________ Information from ESET NOD32 Antivirus, version of virus signature database 3110 (20080519) __________<BR><BR><SPAN class=q>The message was checked by ESET NOD32 Antivirus.</SPAN><BR><BR><SPAN class=q><A href="http://www.eset.com/" target=_blank>http://www.eset.com</A></SPAN></P></DIV>
<P class=EC_MsoNormal style="MARGIN-BOTTOM: 12pt"><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A></P></DIV>
<P class=EC_MsoNormal>&nbsp;</P></DIV></DIV></BLOCKQUOTE><br /><hr />Miss your Messenger buddies when on-the-go? <a href='http://clk.atdmt.com/UKM/go/msnnkmgl0010000001ukm/direct/01/' target='_new'>Get Messenger on your Mobile!</a></body>
</html>