First, to Larry: No, I don't want to send it to myself. <br>
<br>
Second, Kjetil: is not the two points you wrote, it's &quot;<span><span><font color="#0000ff" face="Arial" size="2">one and only one user receives a task of this type, but 
this can be any user for each run of the workflow&quot;. <span style="color: rgb(0, 0, 0);">Because I determine this user in a previous task. <br>
<br>
The problem is that when I put the element of the user agent I
determine, It seems that it doesn't respect it, all users will receive
a workitem. And it should be only the one in the element (and it
contanins...for example, USUTEST1).<br>
<br>
I mean, why if I specify the user in the element, only the user should
receive the workitem notification,,, why all the others users receive the same workitem in their inbox... how come??<br>
<br>
Need some help with this issue.. I'll appreciate... thanks<br>
</span></font></span></span><br><div><span class="gmail_quote">On 4/11/06, <b class="gmail_sendername"><a href="mailto:lianghuan.x.hu@accenture.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lianghuan.x.hu@accenture.com</a></b> &lt;<a href="mailto:lianghuan.x.hu@accenture.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lianghuan.x.hu@accenture.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="direction: ltr;">




<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Perhaps what <font color="#000000" face="Tahoma">Markkos wants 
is simply to send the work item to himself. If this is the case, then instead of 
using &quot;Expression&quot; and the container element, try to use &quot;US User&quot;, 
and&nbsp;&nbsp;&quot;<font face="Times New Roman" size="3">RETZ10&quot;. 
</font></font></font></span></div>
<div align="left" dir="ltr"><span></span>&nbsp;</div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Larry Hu</font></span></div><br>
<div align="left" dir="ltr" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a> 
[mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Kjetil 
Kilhavn<br><b>Sent:</b> Monday, April 10, 2006 2:57 AM</font></div><div style="direction: ltr;"><span><font face="Tahoma" size="2"><br><b>To:</b> SAP 
Workflow Users' Group<br></font></span></div><font face="Tahoma" size="2"></font><div style="direction: ltr;"><font face="Tahoma" size="2"><b>Subject:</b> RE: How to restrict an agent assigment 
task... and also restrictaworkitem for the Inbox for only one 
user.<br></font><br></div></div><div style="direction: ltr;"><span>
<div></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">I am not quite sure if I understand what your requirement 
is.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Is the requirement to ensure that</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">a) you and only you (or any other user - but always the 
same) receive all tasks of this type?</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">b) one and only one user receives a task of this type, but 
this can be any user for each task?</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">If your requirement is a) then the easiest solution would 
be to restrict the possible agents of the task I imagine. In other words, don't 
have a general task.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">If your requirement is b) then one solution is to create a 
role, and mark the &quot;Terminate if role resolution has no result&quot; check box. The 
role would e.g. take a user ID as input, check the validity of the user and 
return it prefixed by US. Store the user ID that you pass in in a workflow 
container element so you can change it and restart the workflow if there is a 
problem.</font></span></div>
<div align="left" dir="ltr"><span></span><font face="Arial" size="2">-- </font></div>
<div align="left"><font face="Arial" size="2">Kjetil Kilhavn, Statoil ØFT KTJ 
BAS&nbsp;DEV SAP</font></div>
<div align="left">
<div align="left"><font face="Arial" size="2">
</font><div align="left">
<div align="left">
<div align="left"><font face="Arial" size="2"><font face="Arial" size="2"></font></font></div></div></div><font size="1"><font face="Arial" size="2"></font></font></div></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div align="left" dir="ltr" lang="en-us">
  <hr>
  <font face="Tahoma" size="2"><b>From:</b> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a> 
  [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Markkos<br><b>Sent:</b> 
  7. april 2006 17:43<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> 
  How to restrict an agent assigment task... and also restrict aworkitem for the 
  Inbox for only one user.<br></font><br></div>
  <div></div>Hi, I have problems with workitems restrictions... <br><br>I have a 
  task that must to be review only by a user, so I have created a WFSYST-AGENT 
  type element for the agent, so in the Agents task section I've selected the 
  &quot;Expression&quot; option filled with my element (UserId_Agent),. In the other hand, 
  I've checked the &quot;Agent Assignment&quot; (in Task Properties) option so the user 
  will received the workitem in his inbox. In the &quot;Standard task: Maintain Agent 
  Assignment&quot; I have selected the&nbsp; General Task Attribute. <br><br>The 
  problem here, is that all the users are receiving this workitem in their 
  inbox, and I just want it for the user I stated in the Element i've created 
  (that contains 'USRETZ10', where 'RETZ10' is my userID).<br><br>How can I 
  restrict the agent assignment for only and only one user...&nbsp; (I've tried 
  to use the excluded field). And for getting things worse, any user can proceed 
  with the task, and that's not supposed to be. <br><br>Maybe you can help me 
  with this,,, I'll appreciate any comments.... <br><br>thanks in 
advance.<br></blockquote>
<p></p>
<p><font size="1">-------------------------------------------------------------------<br>The 
information contained in this message may be CONFIDENTIAL and is<br>intended for 
the addressee only. Any unauthorised use, dissemination of the<br>information or 
copying of this message is prohibited. If you are not the<br>addressee, please 
notify the sender immediately by return e-mail and delete<br>this 
message.<br>Thank you.</font> </p></span></div><div style="direction: ltr;"><div><p></p><p style="font-size: x-small; font-family: Arial,Sans-Serif;">This
message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.</p></div>

</div><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>