Hello,
I have created a rule to have a random password generated for new add
on users, but dont seem to get any results hopefully someone could shed some
light as to what I am not doing right. What we are looking for in particular
is for our helpdesk to create a user and then a random password is generated
and an email sent to the user with this password so he/she may log in and
create their own. Below is the rule and a level 3 trace is attached.

Thank you in advanced.

<?xml version="1.0" encoding="UTF-8"?><policy>
<rule>
<description>Generate Password with notification</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-operation op="equal">add</if-operation>
</and>
</conditions>
<actions>
<do-trace-message color="brblue" level="3">
<arg-string>
<token-text xml:space="preserve">"Current notification:
"+XPath("$current-node/@src-dn")</token-text>
</arg-string>
</do-trace-message>
<do-for-each>
<arg-node-set>
<token-generate-password policy-dn="..\..\..\..\..\Security\Password
Policies\Default Password Policy"/>
</arg-node-set>
<arg-actions>
<do-send-email server="208.198.20.9">
<arg-string name="from">
<token-text xml:space="preserve">IDM@twcable.com</token-text>
</arg-string>
<arg-string name="to">
<token-xpath expression="$current-node/EmailAddress"/>
</arg-string>
<arg-string name="bcc">
<token-text xml:space="preserve">noc@twcable.com</token-text>
</arg-string>
</do-send-email>
</arg-actions>
</do-for-each>
</actions>
</rule>
</policy>