I'm trying to create a loopback rule to identify users whose accounts are expiring. I'm having trouble with the necessary time conversion. Here's what I have:

<do-set-local-variable name="ldap-filter" scope="policy">
<arg-string>
<token-text xml:space="preserve">(&amp;(affiliationList=Guest) (guestExpires &lt;</token-text>
<token-convert-time dest-format="YYYYMMdd235959" dest-tz="UTC" src-format="!CTIME" src-tz="UTC">
<token-time format="!CTIME" notrace="true" tz="UTC"/>
<token-text xml:space="preserve">)</token-text>
</token-convert-time>
</arg-string>
</do-set-local-variable>

The 'Test' button in Designer returns the expected value, but when I run it, I get "java.lang.NumberFormatException". What am I doing wrong?


Thanks