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