<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:Kendaia;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We are on 4.7, 620.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We have a workflow that begins when an
Applicant/application is created (via an event). &nbsp;Our users have a tendency of
creating additional applications (which creates additional workflows) when they
don&#8217;t see the first workflow right away. &nbsp;I want to add a step to the
beginning of the Applicant workflow that checks to see if a workflow has
already been started (and is active) for an applicant.&nbsp; If there is already an
active workflow, then I&#8217;ll complete the current workflow.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I need to create a method that reads all
workflows for the applicant object (like SWI6). &nbsp;Is there a function module
that does this?&nbsp; What is the best way to determine if a duplicate workflow has
been started for an applicant?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Any help would be greatly appreciated.<o:p></o:p></span></font></p>

<div>

<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>Regards,</span></font><font color=navy face=Arial><span
style='font-family:Arial;color:navy'> <o:p></o:p></span></font></p>

<p class=MsoNormal><b><i><font size=5 color=blue face="Monotype Corsiva"><span
style='font-size:18.0pt;font-family:"Monotype Corsiva";color:blue;font-weight:
bold;font-style:italic'>Sue T. Doughty</span></font></i></b><b><i><font size=5
color=blue face=Kendaia><span style='font-size:18.0pt;font-family:Kendaia;
color:blue;font-weight:bold;font-style:italic'> <br>
</span></font></i></b><font size=1 color=navy><span style='font-size:7.5pt;
color:navy'>SAP Workflow Specialist<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=green face="Times New Roman"><span
style='font-size:7.5pt;color:green'>OLD DOMINION FREIGHT LINE, INC.<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:address tabIndex="0"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st="on"><st1:Street w:st="on"><font size=1 color=navy face="Times New Roman"><span
  style='font-size:8.0pt;color:navy'>500 Old Dominion Way</span></font></st1:Street><font
 size=1 color=navy><span style='font-size:8.0pt;color:navy'>, <st1:City w:st="on">Thomasville</st1:City>,
 <st1:State w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></span></font></st1:address><font
size=1 color=navy><span style='font-size:8.0pt;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face="Times New Roman"><span
style='font-size:7.5pt;color:navy'>Toll Free :(800)432-6335, ext.5189</span></font><font
size=1 color=navy face=Arial><span style='font-size:8.0pt;font-family:Arial;
color:navy'> <br>
</span></font><font size=1 color=navy><span style='font-size:8.0pt;color:navy'>Phone
:(336)822-5189 Fax :(336)822-5149</span></font><font size=1 color=navy
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:navy'> <br>
</span></font><span class=MsoHyperlink><u><font size=1 color=blue><span
style='font-size:8.0pt'><a href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</a></span></font><o:p></o:p></u></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>