Hi,

Can anyone tell me why my variables, in this case 'CN' dosen't get expanded
in the email that is sent.

Instead of getting 'Student xxxxxx has been modified' I simply get 'Student
has been modified'

The rule is located in the Command Transformation Policy on the publisher
Channel. CN is in the Driver Filter and is used


<rule>
<description>User : Notify via Email of Modify</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-operation op="equal">modify</if-operation>
</and>
</conditions>
<actions>
<do-send-email server="mail.iacgs.qld.edu.au">
<arg-string name="to">
<token-text xml:space="preserve">Eric.Belcher@acgs.qld.edu.au</token-text>
</arg-string>
<arg-string name="subject">
<token-text xml:space="preserve">Student Account Modified in
NDS</token-text>
</arg-string>
<arg-string name="message">
<token-text xml:space="preserve">Student </token-text>
<token-src-attr name="CN"/>
<token-text xml:space="preserve">has been modified</token-text>
</arg-string>
</do-send-email>
</actions>
</rule>
<rule>
<description>User : Notify via Email of Addition</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-operation op="equal">add</if-operation>
</and>
</conditions>
<actions>
<do-send-email server="mail.iacgs.qld.edu.au">
<arg-string name="to">
<token-text xml:space="preserve">Eric.Belcher@acgs.qld.edu.au</token-text>
</arg-string>
<arg-string name="subject">
<token-text xml:space="preserve">New Student Added to NDS</token-text>
</arg-string>
<arg-string name="message">
<token-text xml:space="preserve">Student </token-text>
<token-src-attr name="CN"/>
<token-text xml:space="preserve">has been added to NDS</token-text>
</arg-string>
</do-send-email>
</actions>
</rule>