<!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.2802" name=GENERATOR></HEAD>
<BODY>
<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 size></BODY></HTML>