Hey all,

Working with a groupwise driver and wanting to create a policy based on
title to set a default expiration on the account.

I looked at the sample in the driver for expiring the account and trying
to translate that into my own custom policy... in which makes the driver
stop on my rule.

Here is the output from the rule:

Evaluating selection criteria for rule 'Set Expiration on Certain Titles'.
[07/03/07 11:04:51.001]:GroupWise - CCPST4 ST: (if-class-name equal
"User") = TRUE.
[07/03/07 11:04:51.001]:GroupWise - CCPST4 ST: Query from policy
[07/03/07 11:04:51.002]:GroupWise - CCPST4 ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User" dest-dn="GCAGCAUSERSRunningBacksjjones"
dest-entry-id="33028" scope="entry">
<read-attr attr-name="Title"/>
</query>
</input>
</nds>
[07/03/07 11:04:51.002]:GroupWise - CCPST4 ST: Pumping XDS to
eDirectory.
[07/03/07 11:04:51.002]:GroupWise - CCPST4 ST: Performing operation
query for GCAGCAUSERSRunningBacksjjones.
[07/03/07 11:04:51.015]:GroupWise - CCPST4 ST: Query from policy
result
[07/03/07 11:04:51.015]:GroupWise - CCPST4 ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User"
qualified-src-dn="O=GCAOU=USERSOU=RunningBacksCN=jjones"
src-dn="GCAGCAUSERSRunningBacksjjones" src-entry-id="33028">
<attr attr-name="Title">
<value timestamp="1183475088#7" type="string">Sub</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
[07/03/07 11:04:51.019]:GroupWise - CCPST4 ST: (if-src-attr 'Title'
equal "Sub") = TRUE.
[07/03/07 11:04:51.019]:GroupWise - CCPST4 ST: (if-operation equal
"add") = TRUE.
[07/03/07 11:04:51.019]:GroupWise - CCPST4 ST: Rule selected.
[07/03/07 11:04:51.019]:GroupWise - CCPST4 ST: Applying rule 'Set
Expiration on Certain Titles'.
[07/03/07 11:04:51.019]:GroupWise - CCPST4 ST: Action:
do-set-dest-attr-value("NGW: Mailbox Expiration
Time",token-xpath("int:new(date:getTime(date:new()) div 1000)")).
[07/03/07 11:04:51.019]:GroupWise - CCPST4 ST:
arg-string(token-xpath("int:new(date:getTime(date:new()) div 1000)"))
[07/03/07 11:04:51.020]:GroupWise - CCPST4 ST:
token-xpath("int:new(date:getTime(date:new()) div 1000)")

I basically just copied and pasted to get something working... not sure
what I'm doing wrong with it. Any ideas are greatly appreciated.

Thanks.
Bryan