How to restrict an agent assigment task... and alsorestrictaworkitem for the Inbox for only one user.

Kjetil Kilhavn KJETILK at statoil.com
Wed Apr 12 02:16:02 EDT 2006


Well, that's what I meant - I just didn't express myself very well :-)
 
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.
 
Have you tried creating a role? 
If you don't want to create a role, check that your container element is correctly defined (type-compatible with SWHACTOR)?
-- 
Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP



________________________________

	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Markkos
	Sent: 11. april 2006 20:04
	To: SAP Workflow Users' Group
	Subject: Re: How to restrict an agent assigment task... and alsorestrictaworkitem for the Inbox for only one user.
	
	
	First, to Larry: No, I don't want to send it to myself. 
	
	Second, Kjetil: is not the two points you wrote, it's "one and only one user receives a task of this type, but this can be any user for each run of the workflow". Because I determine this user in a previous task. 
	
	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).
	
	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??
	
	Need some help with this issue.. I'll appreciate... thanks
	
	
	On 4/11/06, lianghuan.x.hu at accenture.com < lianghuan.x.hu at accenture.com <mailto:lianghuan.x.hu at accenture.com> > wrote: 

		Perhaps what 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  "RETZ10". 
		 
		Larry Hu

________________________________

		From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Kjetil Kilhavn
		Sent: Monday, April 10, 2006 2:57 AM
		
		To: SAP Workflow Users' Group
		
		
		Subject: RE: How to restrict an agent assigment task... and also restrictaworkitem for the Inbox for only one user.
		
		
		
		I am not quite sure if I understand what your requirement is.
		 
		Is the requirement to ensure that
		a) you and only you (or any other user - but always the same) receive all tasks of this type?
		b) one and only one user receives a task of this type, but this can be any user for each task?
		 
		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.
		 
		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.
		-- 
		Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP
		
		
		


________________________________

			From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Markkos
			Sent: 7. april 2006 17:43
			To: SAP Workflow Users' Group
			Subject: How to restrict an agent assigment task... and also restrict aworkitem for the Inbox for only one user.
			
			
			Hi, I have problems with workitems restrictions... 
			
			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. 
			
			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).
			
			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. 
			
			Maybe you can help me with this,,, I'll appreciate any comments.... 
			
			thanks in advance.
			

		

		-------------------------------------------------------------------
		The information contained in this message may be CONFIDENTIAL and is
		intended for the addressee only. Any unauthorised use, dissemination of the
		information or copying of this message is prohibited. If you are not the
		addressee, please notify the sender immediately by return e-mail and delete
		this message.
		Thank you. 

		

		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.


		_______________________________________________
		SAP-WUG mailing list
		SAP-WUG at mit.edu
		http://mailman.mit.edu/mailman/listinfo/sap-wug
		
		
		




-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060412/2aef178b/attachment.htm


More information about the SAP-WUG mailing list