Yes Gavin , You understood, it's what you said... <br>
<br>
And you were right, no value is passing through the container
operation...&nbsp; the strange thing here, is that I've checked the
container of the task that determines the user, and there it is... <br>
<br>
well, I tried to do several container operations without succeeding.. I don't know what's the problem now...<br>
<br>at least thanks for your comments...<br>
<br><div><span class="gmail_quote">On 4/11/06, <b class="gmail_sendername">Gavin Mooney</b> &lt;<a href="mailto:gavinmooney@gmail.com">gavinmooney@gmail.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;">
Markkos,<br><br>You say that the user can be any user for each run of the workflow,<br>and that this user is determined in the preceding step. If the agent<br>can be literally anyone, then your task may well need to be a general
<br>task.<br><br>However the attribute &quot;general task&quot; belongs at the task level, and if<br>you want the work item to be sent to the user identified in the<br>previous step then that will be assigned at the workflow step level as
<br>an 'Expression' where you insert the name of your container element<br>that contains the user(s). I think that might be what you're doing<br>already but I'm not sure I understood everything that you wrote.<br><br>If the work item is going to everyone then it sounds like the
<br>container element with your agents in is empty. Are you sure the<br>previous step is populating it correctly? To test this you could put a<br>'Container Operation' before your work item step and hard code a user<br>ID into the container element then see if the work item is sent to
<br>that ID.<br><br>HTH,<br>Gavin<br><br>2006/4/11, Markkos &lt;<a href="mailto:markkos@gmail.com">markkos@gmail.com</a>&gt;:<br>&gt; The question is:<br>&gt;<br>&gt;&nbsp;&nbsp;How do I have an agent assigned task without having it as a general task?
<br>&gt; (Using an expression as the element (that will contain the SAP User ID, with<br>&gt; the US preceding...)<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 4/11/06, Markkos &lt;<a href="mailto:markkos@gmail.com">markkos@gmail.com
</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; First, to Larry: No, I don't want to send it to myself.<br>&gt; &gt;<br>&gt; &gt; Second, Kjetil: is not the two points you wrote, it's &quot;one and only one<br>&gt; user receives a task of this type, but this can be any user for each run of
<br>&gt; the workflow&quot;. Because I determine this user in a previous task.<br>&gt; &gt;<br>&gt; &gt; The problem is that when I put the element of the user agent I determine,<br>&gt; It seems that it doesn't respect it, all users will receive a workitem. And
<br>&gt; it should be only the one in the element (and it contanins...for example,<br>&gt; USUTEST1).<br>&gt; &gt;<br>&gt; &gt; I mean, why if I specify the user in the element, only the user should<br>&gt; receive the workitem notification,,, why all the others users receive the
<br>&gt; same workitem in their inbox... how come??<br>&gt; &gt;<br>&gt; &gt; Need some help with this issue.. I'll appreciate... thanks<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On 4/11/06, <a href="mailto:lianghuan.x.hu@accenture.com">
lianghuan.x.hu@accenture.com</a> &lt; <a href="mailto:lianghuan.x.hu@accenture.com">lianghuan.x.hu@accenture.com</a>&gt;<br>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Perhaps what Markkos wants is simply to send the work item to himself. If
<br>&gt; this is the case, then instead of using &quot;Expression&quot; and the container<br>&gt; element, try to use &quot;US User&quot;, and&nbsp;&nbsp;&quot;RETZ10&quot;.<br>&gt; &gt;<br>&gt; &gt; Larry Hu<br>&gt; &gt;<br>&gt; &gt; ________________________________
<br>&gt;&nbsp;&nbsp;From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf Of<br>&gt; Kjetil Kilhavn<br>&gt; &gt; Sent: Monday, April 10, 2006 2:57 AM
<br>&gt; &gt;<br>&gt; &gt; To: SAP Workflow Users' Group<br>&gt; &gt;<br>&gt; &gt; Subject: RE: How to restrict an agent assigment task... and also<br>&gt; restrictaworkitem for the Inbox for only one user.<br>&gt; &gt;<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; I am not quite sure if I understand what your requirement is.<br>&gt; &gt;<br>&gt; &gt; Is the requirement to ensure that<br>&gt; &gt; a) you and only you (or any other user - but always the same) receive all
<br>&gt; tasks of this type?<br>&gt; &gt; b) one and only one user receives a task of this type, but this can be any<br>&gt; user for each task?<br>&gt; &gt;<br>&gt; &gt; If your requirement is a) then the easiest solution would be to restrict
<br>&gt; the possible agents of the task I imagine. In other words, don't have a<br>&gt; general task.<br>&gt; &gt;<br>&gt; &gt; If your requirement is b) then one solution is to create a role, and mark<br>&gt; the &quot;Terminate if role resolution has no result&quot; check box. The role would
<br>&gt; e.g. take a user ID as input, check the validity of the user and return it<br>&gt; prefixed by US. Store the user ID that you pass in in a workflow container<br>&gt; element so you can change it and restart the workflow if there is a problem.
<br>&gt; &gt; --<br>&gt; &gt; Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt;&nbsp;&nbsp;From: 
<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf Of<br>&gt; Markkos<br>&gt; &gt; Sent: 7. april 2006 17:43<br>&gt; &gt; To: SAP Workflow Users' Group
<br>&gt; &gt; Subject: How to restrict an agent assigment task... and also restrict<br>&gt; aworkitem for the Inbox for only one user.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Hi, I have problems with workitems restrictions...
<br>&gt; &gt;<br>&gt; &gt; I have a task that must to be review only by a user, so I have created a<br>&gt; WFSYST-AGENT type element for the agent, so in the Agents task section I've<br>&gt; selected the &quot;Expression&quot; option filled with my element (UserId_Agent),. In
<br>&gt; the other hand, I've checked the &quot;Agent Assignment&quot; (in Task Properties)<br>&gt; option so the user will received the workitem in his inbox. In the &quot;Standard<br>&gt; task: Maintain Agent Assignment&quot; I have selected the&nbsp;&nbsp;General Task
<br>&gt; Attribute.<br>&gt; &gt;<br>&gt; &gt; The problem here, is that all the users are receiving this workitem in<br>&gt; their inbox, and I just want it for the user I stated in the Element i've<br>&gt; created (that contains 'USRETZ10', where 'RETZ10' is my userID).
<br>&gt; &gt;<br>&gt; &gt; How can I restrict the agent assignment for only and only one user...<br>&gt; (I've tried to use the excluded field). And for getting things worse, any<br>&gt; user can proceed with the task, and that's not supposed to be.
<br>&gt; &gt;<br>&gt; &gt; Maybe you can help me with this,,, I'll appreciate any comments....<br>&gt; &gt;<br>&gt; &gt; thanks in advance.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; -------------------------------------------------------------------
<br>&gt; &gt; The information contained in this message may be CONFIDENTIAL and is<br>&gt; &gt; intended for the addressee only. Any unauthorised use, dissemination of<br>&gt; the<br>&gt; &gt; information or copying of this message is prohibited. If you are not the
<br>&gt; &gt; addressee, please notify the sender immediately by return e-mail and<br>&gt; delete<br>&gt; &gt; this message.<br>&gt; &gt; Thank you.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;
<br>&gt; &gt;<br>&gt; &gt; This message is for the designated recipient only and may contain<br>&gt; privileged, proprietary, or otherwise private information. If you have<br>&gt; received it in error, please notify the sender immediately and delete the
<br>&gt; original. Any other use of the email by you is prohibited.<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; SAP-WUG mailing list<br>&gt; &gt; <a href="mailto:SAP-WUG@mit.edu">
SAP-WUG@mit.edu</a><br>&gt; &gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________
<br>&gt; SAP-WUG mailing list<br>&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt;<br>&gt;
<br>&gt;<br><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug
</a><br></blockquote></div><br>