<!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=517011206-12042006><FONT face=Arial
color=#0000ff size=2>Well, that's what I meant - I just didn't express
myself very well :-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=517011206-12042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=517011206-12042006><FONT face=Arial
color=#0000ff size=2>When all users (or all possible agents) receive a work item
it is because something fails when trying to restrict from possible agents to
only the selected agents. At least as far as I know that is where it
fails.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=517011206-12042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=517011206-12042006>
<DIV dir=ltr align=left><SPAN class=517011206-12042006><FONT face=Arial
color=#0000ff size=2>Have you tried creating a role? </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=517011206-12042006><FONT face=Arial
color=#0000ff size=2>If you don't want to create a role, check that your
container element is correctly defined (type-compatible with
SWHACTOR)?</FONT></SPAN></DIV></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil ØFT KTJ
BAS 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></DIV></DIV></DIV></DIV></FONT><FONT face=Arial color=#0000ff
size=2></FONT></DIV><FONT face=Arial size=2></FONT><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>
11. april 2006 20:04<BR><B>To:</B> SAP Workflow Users'
Group<BR><B>Subject:</B> Re: How to restrict an agent assigment task... and
alsorestrictaworkitem for the Inbox for only one user.<BR></FONT><BR></DIV>
<DIV></DIV>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
"<SPAN><SPAN><FONT face=Arial color=#0000ff 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". <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
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:lianghuan.x.hu@accenture.com"
target=_blank>lianghuan.x.hu@accenture.com</A></B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:lianghuan.x.hu@accenture.com" target=_blank>
lianghuan.x.hu@accenture.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV style="DIRECTION: ltr">
<DIV dir=ltr align=left><SPAN><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 "<FONT face="Times New Roman" size=3>RETZ10".
</FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Larry
Hu</FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:sap-wug-bounces@mit.edu"
target=_blank>sap-wug-bounces@mit.edu</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:sap-wug-bounces@mit.edu"
target=_blank>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 dir=ltr align=left><SPAN><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><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Is the
requirement to ensure that</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><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><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><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><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><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><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></SPAN><FONT face=Arial size=2>--
</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil ØFT KTJ
BAS 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="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:sap-wug-bounces@mit.edu"
target=_blank>sap-wug-bounces@mit.edu</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:sap-wug-bounces@mit.edu"
target=_blank>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 "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 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... (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 onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SAP-WUG@mit.edu" target=_blank>SAP-WUG@mit.edu</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://mailman.mit.edu/mailman/listinfo/sap-wug"
target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR></BLOCKQUOTE></DIV><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>