<br><font size=2 face="sans-serif">At the urging of workflow gurus Mark
P. &amp; Mike P., I am posting an idea that was included in my presentation
at ASUG. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">I have been burnt by general tasks that
get sent into everyone's workflow inbox. &nbsp;Here is a way that lowers
the exposure from a runaway general task by checking for general tasks
as each user logs into the system.</font>
<br>
<br><font size=2 face="Arial">In user exit EXIT_SAPLSUSF_001 - ZXUSRU01
(function group XUSR) which executes at user login:</font>
<br><font size=2 face="Times">• &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 face="Arial">Retrieve
work list for user &nbsp;(function </font><font size=1 face="Arial Monospaced for SAP">SWR_WL_CREATE</font><font size=2 face="Arial">)</font>
<br><font size=2 face="Times">• &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 face="Arial">Check
agents assigned for work items (function </font><font size=1 face="Arial Monospaced for SAP">RH_WI_AGENTS_GET</font><font size=2 face="Arial">)</font>
<br><font size=2 face="Times">• &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 face="Arial">Reserve
general task work items to a specific ID (i.e. workflow administrator)
(function </font><font size=1 face="Arial Monospaced for SAP">SAP_WAPI_RESERVE_WORKITEM</font><font size=2 face="Arial">)</font>
<br><font size=2 face="Times">• &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 face="Arial">Upon
a successful reservation, notify workflow administration about the work
item</font>
<br>
<br><font size=2 face="sans-serif">Use caution with this exit because if
you mess up here, then your users might not able to log into the system.</font>
<br>
<br>