<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=255394514-11042006><FONT face=Arial 
color=#0000ff size=2>Perhaps what <FONT face=Tahoma color=#000000>Markkos wants 
is simply to send the work item to himself. If this is the case, then instead of 
using "Expression" and the container element, try to use "US User", 
and&nbsp;&nbsp;"<FONT face="Times New Roman" size=3>RETZ10". 
</FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=255394514-11042006></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=255394514-11042006><FONT face=Arial 
color=#0000ff size=2>Larry Hu</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Kjetil 
Kilhavn<BR><B>Sent:</B> Monday, April 10, 2006 2:57 AM<BR><B>To:</B> SAP 
Workflow Users' Group<BR><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>
<DIV dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff size=2>I am not quite sure if I understand what your requirement 
is.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff size=2>Is the requirement to ensure that</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff 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 dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff 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 dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff 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 dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=622384806-10042006><FONT face=Arial 
color=#0000ff size=2>If your requirement is b) then one solution is to create a 
role, and mark the "Terminate if role resolution has no result" 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 dir=ltr align=left><SPAN class=622384806-10042006></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>
<DIV align=left>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2></FONT></FONT><FONT size=1><FONT 
face=Arial size=2></FONT></DIV></DIV></DIV></DIV></FONT></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
  [mailto:sap-wug-bounces@mit.edu] <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 
  "Expression" option filled with my element (UserId_Agent),. In the other hand, 
  I've checked the "Agent Assignment" (in Task Properties) option so the user 
  will received the workitem in his inbox. In the "Standard task: Maintain Agent 
  Assignment" 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><div id="##disclaimer##"><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></BODY></HTML>