<div>G'day all,</div>
<div>&nbsp;</div>
<div>ECC 5.0 NW04</div>
<div>&nbsp;</div>
<div>I've been playing around with the use of triggering an event in a modeled deadline path to recalculate agents to include the deadline recipients. I can get this to happen however there seem to be some side effects.</div>

<div>&nbsp;</div>
<div>Since the Workitem is not marked as obsolete the Deadline indicators do not get set. Therefore no little bouncing message in the item preview. No indicator that the item is overdue. </div>
<div>&nbsp;</div>
<div>I&nbsp;want to be able to have dynamic text changes so that the original recipient knows that it's passed deadline and the new agents know why they are seeing it. I can not figure it out. I have tried in vain to do an IF statement comparing current&nbsp;date and time to the deadline date/time.
</div>
<div>&nbsp;</div>
<div>Part of the problem is that you can't have an IF condition that goes over a line in length. This is a problem since the logic is:</div>
<div>IF&nbsp;&amp;_WORKITEM.LATESTENDDATE&amp; &lt; &amp;SY-DATUM&amp; or &amp;_WORKITEM.LATESTENDDATE&amp;&nbsp; = &amp;SY-DATUM&amp; and &amp;_WORKITEM.LATESTENDTIME&amp;&nbsp; &lt; &amp;SY-UZEIT&amp;. </div>
<div>This can be resolved using DEFINE statements and the creation of abreviations.</div>
<div>&nbsp;</div>
<div>The next part is that you don't have the option of using bracketed statements or even having logical precedence of operators. </div>
<div>&nbsp;</div>
<div>I tried a concatenation of variable so that 'datetime' can be compared, but I can't get the deadline date in yyyymmdd format (I can for sy-datum) and therefore comparisons are pointless.</div>
<div>&nbsp;</div>
<div>I then got desperate and tried a PERFORM, but even that wouldn't work. Not really sure why. </div>
<div>&nbsp;</div>
<div>This all seems too difficult.</div>
<div>&nbsp;</div>
<div>Is anyone using the Agent Reevaluation technique? If so how do you&nbsp;handle it so that users recognise it as a workitem passed deadline??</div>
<div>&nbsp;</div>
<div>I was persuing this technique really primarily so that Workitem execution times could be reported accurately and secondly to because the design gives a relatively clean flow diagram. If I can't let the users know that deadline has passed though it doesn't seem such a hot solution.
</div>
<div>&nbsp;</div>
<div>Any thoughts?</div>
<div>&nbsp;</div>
<div>Thanks Mark</div>
<div>&nbsp;</div>
<div>(PS my SRM DEV environment died from overheating and has been down for over a week now&nbsp;- I will get back on the SRM case once I've got a system again)</div>
<div>&nbsp;</div>