I have a JDBC Driver that has to be highly customized for a Business
Line When I Add the following Rules to the Event Transform Each add user
event stops there. It never makes it past the event transform. But If
I put it in the Command Transform it seems to work. Am I doing
something obviously stupid here?


Code:
--------------------
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE policy PUBLIC "policy-builder-dtd" "C:\Program Files\Novell\Designer\plugins\com.novell.idm.polic ybuilder_3.5.0.200909160331\DTD\dirxmlscript3.6.1. dtd"><policy>
<rule>
<description>Check For Association</description>
<comment xml:space="preserve">If the user is already associated break.</comment>
<conditions>
<and>
<if-class-name mode="nocase" op="equal">user</if-class-name>
<if-association op="associated"/>
</and>
</conditions>
<actions>
<do-break/>
</actions>
</rule>
<rule>
<description>Generate Association String Value</description>
<comment xml:space="preserve">Creates the Association String from the SourceName</comment>
<conditions>
<and>
<if-association op="not-associated"/>
</and>
</conditions>
<actions>
<do-set-local-variable name="assocStringValue" scope="policy">
<arg-string>
<token-src-name/>
</arg-string>
</do-set-local-variable>
</actions>
</rule>
<rule>
<description>Assign Associations</description>
<conditions>
<and>
<if-association op="not-associated"/>
</and>
</conditions>
<actions>
<do-add-association>
<arg-association>
<token-local-variable name="assocStringValue"/>
</arg-association>
</do-add-association>
<do-append-xml-element expression="." name="association"/>
<do-append-xml-text expression="./association">
<arg-string>
<token-local-variable name="assocStringValue"/>
</arg-string>
</do-append-xml-text>
</actions>
</rule>
</policy>
--------------------


--
markgard
------------------------------------------------------------------------
markgard's Profile: http://forums.novell.com/member.php?userid=1534
View this thread: http://forums.novell.com/showthread.php?t=409778