Hello all. I just need a kick-start on a Data Directive to compare the last Exchange Rate entered to user’s ttCurrExRate entry coming in. We want to notify user if they have exceeded a % threshold. Since LastOrDefault() is not supported, I thought I would sort descending to simplify getting the last record. Then store it in callContextBPMData, etc… Problem: How to get record previous to user’s ttCurrExRate for comparison?
Can’t you use linq queries against Db.CurrExRate?
Thanks Jonathan. That’s exactly what I did. I think I’ve got it!