<!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> </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> </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> </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> </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
783074 19 Approve/Endorse PO 4500016049 Line 00020 (
Approved
07.02.2002 12:06:59 0s</FONT></P>
<P><FONT face="Courier New" size=2>G Workflow
WF-Batch Dialog work item
created
07.02.2002 12:06:59 FLOWITEM 000000783
TS91000003</FONT></P>
<P><FONT face="Courier New" size=2>G John
Smith Completed by
hand
07.02.2002
14:11:12
E10912</FONT> <BR><FONT face="Courier New" size=2>G John
Smith Work item
reserved
07.02.2002 14:11:12</FONT> <BR><FONT face="Courier New"
size=2>G John
Smith Work item
processing
complete
07.02.2002 14:11:12</FONT> <BR><FONT face="Courier New"
size=2>
28 Set STATUS to
M
STATUS set to M 07.02.2002
14:11:12
</FONT></P>
<P><FONT face="Courier New"
size=2>
86 Approver or
Endorser?
Approver
07.02.2002
14:11:12
</FONT></P>
<P><FONT face="Courier New"
size=2>G
792526 35 Background Step to Update line
status
07.02.2002 14:11:12 1s</FONT></P>
<P><FONT face="Courier New" size=2>G John
Smith Background work
item
created
07.02.2002 14:11:12 FLOWITEM 000000783
TS91000008</FONT></P>
<P><FONT face="Courier New" size=2>R1 John
Smith
SWW_BI_EXECUTE_S
07.02.2002 14:11:12</FONT> <BR><FONT face="Courier New"
size=2>G Workflow WF-Batch Work item processing
complete
07.02.2002 14:11:12
ZBUS2012Ln
450001604900020</FONT></P>
<P><FONT face="Courier New" size=2>G John
Smith Execution started
automatically 07.02.2002
14:11:12</FONT> <BR><FONT face="Courier New" size=2>R2 John
Smith Execution started
automatically 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>