<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">





<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY >
<DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>Hi All</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>I am trying to build an FM role/rule to find agents for the 
deadline monitoring feature of a workflow step. It will be added to 
the&nbsp;'rule' section of the Deadline notification.&nbsp;The intention&nbsp;is 
(in part) to send the warning to those individuals who 'own' the work item (ie 
those who have it visible in their inbox due to it having been 
reserved/executed/forwarded). </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>However, it dawned on me that I will need to know the WI ID 
in order to search table SWWORGTASK or use FM RH_WI_ORGTASK_READ. Anyone know 
how I can determine the WI ID of the work item when the FM rule is 
called?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>Just to make life really entertaining, I probably have some 
parallel-processing steps to contend with as well, so one Activity/Step 
definition in the workflow could mean several work item ids. In this case, I 
especially need to know which work item is which, so that I send the deadline to 
the correct agents. However, if I search SWWWIHEAD for work items that are 
active, have the correct deadine values, and are in the correct workflow (via 
_WORKITEM from the workflow container),&nbsp;this scenario means I may still end 
up with several WI&nbsp;IDs...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>It just seems odd that the step does not know it's own 
runtime WI number...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>I'm using 4.6c</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>Cheers</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094544511-31052007><FONT face=Arial 
color=#0000ff size=2>Andy</FONT></SPAN></DIV> </DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 18pt; COLOR: green; FONT-FAMILY: Webdings">P</SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Arial','sans-serif'"> </SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 8pt; COLOR: green">please don't print this e-mail unless you really need to.</SPAN></DIV> </DIV>
<DIV>&nbsp;</DIV>
<DIV>
<P CLASS="MsoNormal" STYLE="MARGIN: 0in 0in 0pt">-----------------------------------------<SPAN STYLE="FONT-SIZE: 16pt"></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial">This email (including any attachment)&nbsp;is confidential and may contain privileged information. If you are not the intended recipient or receive it in error, you may not use, distribute, disclose or copy any of the information contained within it and it may be unlawful to do so. If you are not the intended recipient please notify us immediately by returning this e-mail to us at </SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A TITLE="mailto:mailerror@csplc.com" HREF="mailto:mailerror@csplc.com" TARGET="_blank"><SPAN STYLE="COLOR: windowtext; mso-bidi-font-family: Arial">mailerror@csplc.com</SPAN></A></SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"> and destroy all copies.</SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0in 0in 0pt"><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA">Any views expressed by individuals within this e-mail do not necessarily reflect the views of Cadbury Schweppes Plc or any of its subsidiaries' or affiliates'. This email does not constitute a binding offer, acceptance, amendment, waiver or other agreement, unless such intention is clearly stated in the body of the email.&nbsp; Whilst we have taken reasonable steps to ensure that this e-mail and attachments are&nbsp;free from viruses, recipients are advised to subject this mail to their own virus checking, in keeping with good computing practice. <BR>Please note that e-mail received by Cadbury Schweppes Plc or its subsidiaries or affiliates may be monitored in accordance with applicable law. <BR><BR>Cadbury Schweppes plc&nbsp;registered in&nbsp;England, Company Number 00052457<BR>whose Registered Office is at 25 Berkeley Square, London, W1J 6HB United Kingdom<BR>Telephone:+44 (0) 20 7409 1313 Fax:+44 (0) 20 7830 5200</SPAN>&nbsp;</P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0in 0in 0pt">-----------------------------------------</P>
</DIV></BODY></HTML>