<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Interpreting the technical workflow log</TITLE>
 
<META content="MSHTML 6.00.2712.300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff size=2>Hi
Dave,</FONT></SPAN></DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff size=2>as per
your first question, have a look at whether the method in question is flagged as
a dialog method, in that case, it would use the dialog user
ID.</FONT></SPAN></DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff size=2>As per
the second question, this has something to do with the way the workflow engine
selects the log entries (I think I remember that time was one of the factors,
with some entries being written the same second, thus rather hard to sort..),
and I don't think this is a problem with the workflow as
such.</FONT></SPAN></DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff
size=2>Greetings,</FONT></SPAN></DIV>
<DIV><SPAN class=256124408-12022002><FONT face=Arial color=#0000ff
size=2>Stephan</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> Donnerstag, 7. Februar 2002
  18:07<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Interpreting the
  technical workflow log<BR><BR></FONT></DIV>
  <P><FONT face="Courier New" size=2>Hi everybody. I have a question about some
  information that I'm seeing in the technical workflow log for a purchase order
  approval workflow that we're running. Below is the section of the log that I
  have questions on. My questions are:</FONT></P>
  <P><FONT face="Courier New" size=2>- shouldn't the agent for all log steps
  under the Background Step (number 792526) be the Workflow WF-Batch user? It
  appears that the system is using the dialog user's ID to execute at least a
  portion of the background processing, which I think might lead to security
  problems.</FONT></P>
  <P><FONT face="Courier New" size=2>- the order of the steps listed under the
  Background Step seems strange. Why are there two lines for "Execution started
  automatically" after the line for "Work item processing complete"? </FONT></P>
  <P><FONT face="Courier New" size=2>Are these just quirks in the way the log
  information is presented, or do they indicate a possible problem with this
  workflow? Thanks for any information you can provide.</FONT></P>
  <P><FONT face="Courier New" size=2>Sample from the technical log</FONT>
  <BR><FONT face="Courier New"
  size=2>=====================================</FONT> <BR><FONT
  face="Courier New"
  size=2>G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  783074&nbsp; 19&nbsp;&nbsp; Approve/Endorse PO 4500016049 Line 00020 (&nbsp;
  Approved&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 12:06:59&nbsp;&nbsp;&nbsp;&nbsp; 0s</FONT></P>
  <P><FONT face="Courier New" size=2>G&nbsp;&nbsp;&nbsp; Workflow
  WF-Batch&nbsp;&nbsp; Dialog work item
  created&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 12:06:59&nbsp;&nbsp;&nbsp;&nbsp; FLOWITEM&nbsp; 000000783&nbsp;
  TS91000003</FONT></P>
  <P><FONT face="Courier New" size=2>G&nbsp;&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Completed by
  hand&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002
  14:11:12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  E10912</FONT> <BR><FONT face="Courier New" size=2>G&nbsp;&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Work item
  reserved&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 14:11:12</FONT> <BR><FONT face="Courier New"
  size=2>G&nbsp;&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Work item
  processing
  complete&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 14:11:12</FONT> <BR><FONT face="Courier New"
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  28&nbsp;&nbsp; Set STATUS to
  M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </FONT></P>
  <P><FONT face="Courier New"
  size=2>G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  792526&nbsp; 35&nbsp;&nbsp; Background Step to Update line
  status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 14:11:12&nbsp;&nbsp;&nbsp;&nbsp; 1s</FONT></P>
  <P><FONT face="Courier New" size=2>G&nbsp;&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Background work
  item
  created&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 14:11:12&nbsp;&nbsp;&nbsp;&nbsp; FLOWITEM&nbsp; 000000783&nbsp;
  TS91000008</FONT></P>
  <P><FONT face="Courier New" size=2>R1&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  SWW_BI_EXECUTE_S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 14:11:12</FONT> <BR><FONT face="Courier New"
  size=2>G&nbsp;&nbsp;&nbsp; Workflow WF-Batch&nbsp;&nbsp; Work item processing
  complete&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  07.02.2002 14:11:12
  ZBUS2012Ln&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  450001604900020</FONT></P>
  <P><FONT face="Courier New" size=2>G&nbsp;&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execution started
  automatically&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 07.02.2002
  14:11:12</FONT> <BR><FONT face="Courier New" size=2>R2&nbsp;&nbsp; John
  Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execution started
  automatically&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 07.02.2002
  14:11:12</FONT> </P><BR>
  <P><FONT face="Courier New" size=2>Notes:</FONT> <BR><FONT face="Courier New"
  size=2>G=green light</FONT> <BR><FONT face="Courier New" size=2>R1=red light,
  error message: "Object Requested is currently locked by user WF-BATCH"</FONT>
  <BR><FONT face="Courier New" size=2>R2=red light, error message: "Workitem
  000000792526 is locked by user WF-BATCH (enqueue error)"</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>