<br><font size=2 face="sans-serif">You can do it two ways:-</font>
<br>
<br><font size=2 face="sans-serif">1 - By having a step to resolve the agents prior to the approval step and then just bind in that agent(s) to the approval step.</font>
<br>
<br><font size=2 face="sans-serif">2 - Create different tasks according to the number of days and the PL leave type and then use the different agents.</font>
<br>
<br><font size=2 face="sans-serif">Mike</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;TCS BISWAJIT DAS&quot; &lt;biswajit@jsr.tatasteel.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">08/04/2005 18:05</font>
<br><font size=1 face="sans-serif">Please respond to &quot;SAP Workflow Users' Group&quot;</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;workflow problem</font></table>
<br>
<br>
<br><font size=2><tt>Hi all.<br>
I have to insert a check condition which will determine agent as per some<br>
conditions..<br>
<br>
The workflow is for leave cancellation approval.<br>
the exact scenario is like :<br>
1. &nbsp; &nbsp;if the leave days are greater than 30 days then the<br>
approver would be the superior of the immidiate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; superior of the<br>
requester.<br>
2. &nbsp; &nbsp;if the leave type is PL then the approver is different than other<br>
leave types.<br>
<br>
can anybody show me a way..I'm a new entrant in this workflow world ..<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</tt></font>
<br>
<br>