<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Finding a workitem that's being assigned to all possible agents</TITLE>
 
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff size=2>Hi
Dave,</FONT></SPAN></DIV>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff size=2>If the
workitem is reserved by some user and you know the user's userid, you could use
the function rh_local_inbox_get.&nbsp; Provide the function with the user id and
'e' for the language parameter.&nbsp; When you execute this function with these
parameters, you will get a wi_list result table which you can double click
on.&nbsp; The list will show you the workitem number (wi_id) and it even shows
the workitem text (wi_text) and workitem task (wi_rh_task)&nbsp;which is even
more helpful.&nbsp; You can use the workitem number and go to transaction swi1
and put in the workitem number and look at the workflow log behind this task
from there.&nbsp; Really, once you have the task name, this is where your
problem lies.&nbsp; You do agent assignments at the task
level.</FONT></SPAN></DIV>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff size=2>Let me
know if this helps.</FONT></SPAN></DIV>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=023505120-09012002><FONT face=Arial color=#0000ff
size=2>Casey</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
  size=2>-----Original Message-----<BR><B>From:</B> Beverlin, Dave
  [mailto:Dave.Beverlin@kcc.com]<BR><B>Sent:</B> Tuesday, January 08, 2002 1:32
  PM<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Finding a workitem
  that's being assigned to all possible agents<BR><BR></FONT></DIV>
  <P><FONT face=Arial size=2>Hi all. We periodically have a workitem created
  that gets assigned to all possible agents, I believe because no selected
  agents are being found by an agent determination role. Unfortunately, the
  workitem in question is a general task so it's going to all users in the
  system. I understand there are several ways to fix the problem (update the
  role so it generates an error rather than going to all possible agents, limit
  the possible agents instead of having a general task, etc), but I have to find
  out which one is causing the problem first. Does anybody have some hints about
  what I could look for in the workflow log to identify which workitem might be
  having this problem? By the time I found out there's a problem, I believe the
  workitem has already been reserved or executed by a user, so I don't see it in
  my Inbox. We are on version 4.6c. Thanks for any hints you can
  provide.</FONT></P>
  <P><FONT face=Arial size=2>Regards,</FONT> </P>
  <P><FONT face=Arial color=#000000 size=2>Dave Beverlin</FONT> <BR><FONT
  face=Arial color=#000000 size=2>Consultant, MIS</FONT> <BR><FONT face=Arial
  color=#000000 size=2>Kimberly-Clark Corporation</FONT> <BR><FONT face=Arial
  color=#000000 size=2>dave.beverlin@kcc.com</FONT> <BR><FONT face=Arial
  color=#000000 size=2>920-721-8771</FONT> </P>
  <P>------------------------------------------------------------------------------<BR>This
  e-mail is intended for the use of the addressee(s) only and may contain
  privileged, confidential, or proprietary information that is exempt from
  disclosure under law. If you have received this message in error, please
  inform us promptly by reply e-mail, then delete the e-mail and destroy any
  printed copy. Thank
  you.<BR><BR>==============================================================================</P></BLOCKQUOTE></BODY></HTML>