Hello,

As I use the rename source object action in Null Driver when Surname of
the user changes (due to a PRD approved via a workflow in User App),
I get duplicate values when I look at this user.
For exemple if I look at this User via a DN Lookup Control Object
selector,
as I search the object via FirstName, I get "Arnold,Arnold" in the
FirstName column of search object list
instaed of "Arnold".
I also get "Avistag,Avistag" in the Surname search field instead of
"Surname".


What is strange is that if I look on Surname and Firstname values in
iManager I do not get duplicate values.

Here is my sub cmd rule in my Null Driver

<rule>
<description>changement nom prenom</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-src-dn op="in-container">alpha\comptes</if-src-dn>
<if-op-attr name="Surname" op="changing"/>
</and>
<and>
<if-class-name op="equal">User</if-class-name>
<if-src-dn op="in-container">alpha\comptes</if-src-dn>
<if-op-attr name="Given Name" op="changing"/>
</and>
</conditions>
<actions>
<do-set-src-attr-value class-name="User" name="uniqueID">
<arg-value type="string">
<token-lower-case notrace="true">
<token-attr name="Given Name"/>
</token-lower-case>
<token-text xml:space="preserve">.</token-text>
<token-lower-case>
<token-attr name="Surname"/>
</token-lower-case>
</arg-value>
</do-set-src-attr-value>
<do-rename-src-object>
<arg-string>
<token-attr name="Given Name"/>
<token-text xml:space="preserve"> </token-text>
<token-attr name="Surname"/>
</arg-string>
</do-rename-src-object>
</actions>
</rule>

Do you have an idea where the problems comes from and how to resolve it
?
Many thanks in advance for your help,

Christine


--
coves
------------------------------------------------------------------------
coves's Profile: http://forums.novell.com/member.php?userid=4568
View this thread: http://forums.novell.com/showthread.php?t=330193