Hi

I need to convert the dest-dn format to LDAP format
(CN=..,OU=....,O=...) to make the recipient DN in workflow.

When I use the Parse DN verb I am getting like this ........


Code:
--------------------


<input>
<modify class-name="User" dest-dn="\LS-IDV-DEV1-TREE\IDVAULT\ACTIVEUSERS\ruggersgte" dest-entry-id="38093" event-id="11135" from-merge="true" src-dn="PK_EMP_NO=\ \ \ \ 80456,table=PRLMSIDM,schema=MSTLIB">
<association>PK_EMP_NO=\ \ \ \ 80456,table=PRLMSIDM,schema=MSTLIB</association>
</modify>
</input>

HERE IS THE POLICY
<do-set-local-variable name="formDN" scope="policy">
<arg-string>
<token-parse-dn dest-dn-format="ldap" src-dn-format="slash">
<token-xpath expression="@dest-dn"/>
</token-parse-dn>
</arg-string>
</do-set-local-variable>

HERE IS THE OUTPUT

eneric Null : Applying to modify #1.

Generic Null : Evaluating selection criteria for rule 'rule1'.

Generic Null : (if-operation equal "modify") = TRUE.

Generic Null : Rule selected.

Generic Null : Applying rule 'rule1'.

Generic Null : Action: do-set-local-variable("formDN",scope="policy",token-parse-dn(dest-dn-format="ldap",src-dn-format="slash",token-xpath("@dest-dn"))).

Generic Null : arg-string(token-parse-dn(dest-dn-format="ldap",src-dn-format="slash",token-xpath("@dest-dn")))

Generic Null : token-parse-dn(dest-dn-format="ldap",src-dn-format="slash",token-xpath("@dest-dn"))

Generic Null : token-parse-dn(dest-dn-format="ldap",src-dn-format="slash",token-xpath("@dest-dn"))

Generic Null : token-xpath("@dest-dn")

Generic Null : Token Value: "\LS-IDV-DEV1-TREE\IDVAULT\ACTIVEUSERS\ruggersgte".

Generic Null : Arg Value: "*\LS-IDV-DEV1-TREE\IDVAULT\ACTIVEUSERS\ruggersgte*".

Generic Null : Token Value: "ruggersgte,ACTIVEUSERS,IDVAULT,LS-IDV-DEV1-TREE".

Generic Null : Arg Value: "*ruggersgte,ACTIVEUSERS,IDVAULT,LS-IDV-DEV1-TREE*".



--------------------


Any help , wil be highly appreciated.

Thanks,
eDir4ever.


--
edir4ever
------------------------------------------------------------------------
edir4ever's Profile: http://forums.novell.com/member.php?userid=28533
View this thread: http://forums.novell.com/showthread.php?t=351184