Highlighted
Absent Member.
Absent Member.

Re: Code 9063 object already associated

Ya I just created a Null driver so I can do on subscriber side. I am now able to read all the dirXML-Associations and even match on the right one I am looking for, but I do not know how to remove that value from eDir without clearing all source attr DirXML-Associations, is it an XPATH command to clear the one particular dirXML-Association?

<input>
<modify cached-time="20190215204155.811Z" class-name="User" event-id="c1vtlidm2edirwb01#20190215204155#3#1:37186e1e-066a-4cb4-8722-1e6e18376a06" qualified-src-dn="O=data\OU=users\CN=JOHVILLA" src-dn="\ACME-TEST\data\users\JOHVILLA" src-entry-id="33579" timestamp="1550263315#2">
<modify-attr attr-name="workforceID">
<remove-value>
<value timestamp="1550262577#5" type="string">133111 </value>
</remove-value>
<add-value>
<value timestamp="1550263315#2" type="string">133111</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[02/15/19 13:41:55.909]:dirXML-Association ST:Applying event transformation policies.
[02/15/19 13:41:55.910]:dirXML-Association ST:Applying policy: %+C%14CRemove DirXML-Assocation%-C.
[02/15/19 13:41:55.911]:dirXML-Association ST: Applying to modify #1.
[02/15/19 13:41:55.912]:dirXML-Association ST: Evaluating selection criteria for rule 'Remove Bulk Load Assocation'.
[02/15/19 13:41:55.913]:dirXML-Association ST: (if-class-name equal "user") = TRUE.
[02/15/19 13:41:55.914]:dirXML-Association ST: (if-operation equal "Modify") = TRUE.
[02/15/19 13:41:55.915]:dirXML-Association ST: Rule selected.
[02/15/19 13:41:55.915]:dirXML-Association ST: Applying rule 'Remove Bulk Load Assocation'.
[02/15/19 13:41:55.916]:dirXML-Association ST: Action: do-set-local-variable("lv_DirXML-Associations",scope="policy",arg-node-set(token-src-attr("DirXML-Associations"))).
[02/15/19 13:41:55.918]:dirXML-Association ST: arg-node-set(token-src-attr("DirXML-Associations"))
[02/15/19 13:41:55.919]:dirXML-Association ST: token-src-attr("DirXML-Associations")
[02/15/19 13:41:55.920]:dirXML-Association ST: Query from policy
[02/15/19 13:41:55.921]:dirXML-Association ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.6.0.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<query class-name="User" dest-dn="\ACME-TEST\data\users\JOHVILLA" dest-entry-id="33579" scope="entry">
<read-attr attr-name="DirXML-Associations"/>
</query>
</input>
</nds>
[02/15/19 13:41:55.925]:dirXML-Association ST: Pumping XDS to eDirectory.
[02/15/19 13:41:55.926]:dirXML-Association ST: Performing operation query for \ACME-TEST\data\users\JOHVILLA.
[02/15/19 13:41:55.928]:dirXML-Association ST: --JCLNT-- \ACME-TEST\system\Driver Set\Remove Assocations : Duplicating : context = 9830564, tempContext = 9830919
[02/15/19 13:41:55.930]:dirXML-Association ST: --JCLNT-- \ACME-TEST\system\Driver Set\Remove Assocations : Calling free on tempContext = 9830919
[02/15/19 13:41:55.931]:dirXML-Association ST: Query from policy result
[02/15/19 13:41:55.932]:dirXML-Association ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.6.0.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<instance class-name="User" qualified-src-dn="O=data\OU=users\CN=JOHVILLA" src-dn="\ACME-TEST\data\users\JOHVILLA" src-entry-id="33579">
<attr attr-name="DirXML-Associations">
<value timestamp="1453480129#6" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-TEST\system\Driver Set\ServiceNow Driver</component>
<component name="path">7c482f916f83398068ceda0cbb3ee4e3</component>
</value>
<value timestamp="1455901386#1" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-TEST\system\Driver Set\Ultipro Output</component>
<component name="path">John.Villa@ACME.com</component>
</value>
<value timestamp="1499983280#1" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-TEST\system\Driver Set\AD-SLHNAZ</component>
<component name="path">8252933cec84214bab6077539a4ec818</component>
</value>
<value timestamp="1506508557#27" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-TEST\system\Driver Set\Data Collection Service Driver</component>
<component name="path">E080B068-8501-c542-ECBF-E080B0688501</component>
</value>
<value timestamp="1550182861#11" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-TEST\system\Driver Set\Bulk Resource Load</component>
<component name="path"/>
</value>
<value timestamp="1550248667#11" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-TEST\system\Driver Set\Gallagher Output DB</component>
<component name="path">IDU=14998,table=USR,schema=INDIRECT</component>
</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
[02/15/19 13:41:55.955]:dirXML-Association ST: Token Value: {<value> @timestamp = "1453480129#6" @type = "structured",<value> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp = "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27" @type = "structured",<value> @timestamp = "1550182861#11" @type = "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
[02/15/19 13:41:55.959]:dirXML-Association ST: Arg Value: {<value> @timestamp = "1453480129#6" @type = "structured",<value> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp = "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27" @type = "structured",<value> @timestamp = "1550182861#11" @type = "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
[02/15/19 13:41:55.963]:dirXML-Association ST: Action: do-for-each(arg-node-set(token-local-variable("lv_DirXML-Associations"))).
[02/15/19 13:41:55.965]:dirXML-Association ST: arg-node-set(token-local-variable("lv_DirXML-Associations"))
[02/15/19 13:41:55.966]:dirXML-Association ST: token-local-variable("lv_DirXML-Associations")
[02/15/19 13:41:55.967]:dirXML-Association ST: Token Value: {<value> @timestamp = "1453480129#6" @type = "structured",<value> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp = "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27" @type = "structured",<value> @timestamp = "1550182861#11" @type = "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
[02/15/19 13:41:55.971]:dirXML-Association ST: Arg Value: {<value> @timestamp = "1453480129#6" @type = "structured",<value> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp = "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27" @type = "structured",<value> @timestamp = "1550182861#11" @type = "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
[02/15/19 13:41:55.975]:dirXML-Association ST: Performing actions for local-variable(current-node) = <value> @timestamp = "1453480129#6" @type = "structured".
[02/15/19 13:41:55.976]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
[02/15/19 13:41:55.978]:dirXML-Association ST: arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
[02/15/19 13:41:55.980]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:55.982]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:55.983]:dirXML-Association ST: token-xpath("$current-node//./component[@name="volume"]/text()")
[02/15/19 13:41:55.985]:dirXML-Association ST: Token Value: "\ACME-TEST\system\Driver Set\ServiceNow Driver".
[02/15/19 13:41:55.986]:dirXML-Association ST: Arg Value: "\ACME-TEST\system\Driver Set\ServiceNow Driver".
[02/15/19 13:41:55.987]:dirXML-Association ST: Token Value: "ServiceNow Driver".
[02/15/19 13:41:55.988]:dirXML-Association ST: Arg Value: "ServiceNow Driver".
[02/15/19 13:41:55.989]:dirXML-Association ST: Action: do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
[02/15/19 13:41:55.990]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse"))
[02/15/19 13:41:55.991]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:55.992]:dirXML-Association ST: Token Value: "ServiceNow Driver".
[02/15/19 13:41:55.993]:dirXML-Association ST: Arg Value: "ServiceNow Driver".
[02/15/19 13:41:55.995]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))).
[02/15/19 13:41:56.000]:dirXML-Association ST: arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
[02/15/19 13:41:56.002]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.004]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.006]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.007]:dirXML-Association ST: Token Value: "ServiceNow Driver".
[02/15/19 13:41:56.009]:dirXML-Association ST: Arg Value: "ServiceNow Driver".
[02/15/19 13:41:56.010]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.012]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.014]:dirXML-Association ST: Token Value: "ServiceNow Driver".
[02/15/19 13:41:56.015]:dirXML-Association ST: Arg Value: "ServiceNow Driver".
[02/15/19 13:41:56.017]:dirXML-Association ST: Token Value: {"ServiceNow","Driver"}.
[02/15/19 13:41:56.018]:dirXML-Association ST: Arg Value: {"ServiceNow","Driver"}.
[02/15/19 13:41:56.020]:dirXML-Association ST: Action: do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
[02/15/19 13:41:56.023]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
[02/15/19 13:41:56.025]:dirXML-Association ST: token-xpath("$lv_tmpParse[1]")
[02/15/19 13:41:56.042]:dirXML-Association ST: Token Value: "ServiceNow".
[02/15/19 13:41:56.042]:dirXML-Association ST: token-xpath("$lv_tmpParse[2]")
[02/15/19 13:41:56.043]:dirXML-Association ST: Token Value: "Driver".
[02/15/19 13:41:56.044]:dirXML-Association ST: Arg Value: "ServiceNowDriver".
[02/15/19 13:41:56.045]:dirXML-Association ST: Action: do-if().
[02/15/19 13:41:56.046]:dirXML-Association ST: Evaluating conditions.
[02/15/19 13:41:56.047]:dirXML-Association ST: (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
[02/15/19 13:41:56.048]:dirXML-Association ST: Performing else actions.
[02/15/19 13:41:56.049]:dirXML-Association ST: Performing actions for local-variable(current-node) = <value> @timestamp = "1455901386#1" @type = "structured".
[02/15/19 13:41:56.050]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
[02/15/19 13:41:56.053]:dirXML-Association ST: arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
[02/15/19 13:41:56.054]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.056]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.058]:dirXML-Association ST: token-xpath("$current-node//./component[@name="volume"]/text()")
[02/15/19 13:41:56.059]:dirXML-Association ST: Token Value: "\ACME-TEST\system\Driver Set\Ultipro Output".
[02/15/19 13:41:56.060]:dirXML-Association ST: Arg Value: "\ACME-TEST\system\Driver Set\Ultipro Output".
[02/15/19 13:41:56.061]:dirXML-Association ST: Token Value: "Ultipro Output".
[02/15/19 13:41:56.062]:dirXML-Association ST: Arg Value: "Ultipro Output".
[02/15/19 13:41:56.063]:dirXML-Association ST: Action: do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
[02/15/19 13:41:56.065]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.066]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.067]:dirXML-Association ST: Token Value: "Ultipro Output".
[02/15/19 13:41:56.067]:dirXML-Association ST: Arg Value: "Ultipro Output".
[02/15/19 13:41:56.070]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))).
[02/15/19 13:41:56.072]:dirXML-Association ST: arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
[02/15/19 13:41:56.075]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.078]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.079]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.080]:dirXML-Association ST: Token Value: "Ultipro Output".
[02/15/19 13:41:56.081]:dirXML-Association ST: Arg Value: "Ultipro Output".
[02/15/19 13:41:56.082]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.083]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.084]:dirXML-Association ST: Token Value: "Ultipro Output".
[02/15/19 13:41:56.084]:dirXML-Association ST: Arg Value: "Ultipro Output".
[02/15/19 13:41:56.085]:dirXML-Association ST: Token Value: {"Ultipro","Output"}.
[02/15/19 13:41:56.087]:dirXML-Association ST: Arg Value: {"Ultipro","Output"}.
[02/15/19 13:41:56.088]:dirXML-Association ST: Action: do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
[02/15/19 13:41:56.089]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
[02/15/19 13:41:56.091]:dirXML-Association ST: token-xpath("$lv_tmpParse[1]")
[02/15/19 13:41:56.092]:dirXML-Association ST: Token Value: "Ultipro".
[02/15/19 13:41:56.092]:dirXML-Association ST: token-xpath("$lv_tmpParse[2]")
[02/15/19 13:41:56.093]:dirXML-Association ST: Token Value: "Output".
[02/15/19 13:41:56.094]:dirXML-Association ST: Arg Value: "UltiproOutput".
[02/15/19 13:41:56.095]:dirXML-Association ST: Action: do-if().
[02/15/19 13:41:56.096]:dirXML-Association ST: Evaluating conditions.
[02/15/19 13:41:56.097]:dirXML-Association ST: (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
[02/15/19 13:41:56.098]:dirXML-Association ST: Performing else actions.
[02/15/19 13:41:56.099]:dirXML-Association ST: Performing actions for local-variable(current-node) = <value> @timestamp = "1499983280#1" @type = "structured".
[02/15/19 13:41:56.100]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
[02/15/19 13:41:56.103]:dirXML-Association ST: arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
[02/15/19 13:41:56.104]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.106]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.108]:dirXML-Association ST: token-xpath("$current-node//./component[@name="volume"]/text()")
[02/15/19 13:41:56.109]:dirXML-Association ST: Token Value: "\ACME-TEST\system\Driver Set\AD-SLHNAZ".
[02/15/19 13:41:56.110]:dirXML-Association ST: Arg Value: "\ACME-TEST\system\Driver Set\AD-SLHNAZ".
[02/15/19 13:41:56.111]:dirXML-Association ST: Token Value: "AD-SLHNAZ".
[02/15/19 13:41:56.112]:dirXML-Association ST: Arg Value: "AD-SLHNAZ".
[02/15/19 13:41:56.113]:dirXML-Association ST: Action: do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
[02/15/19 13:41:56.114]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.115]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.116]:dirXML-Association ST: Token Value: "AD-SLHNAZ".
[02/15/19 13:41:56.117]:dirXML-Association ST: Arg Value: "AD-SLHNAZ".
[02/15/19 13:41:56.118]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))).
[02/15/19 13:41:56.120]:dirXML-Association ST: arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
[02/15/19 13:41:56.121]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.122]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.124]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.124]:dirXML-Association ST: Token Value: "AD-SLHNAZ".
[02/15/19 13:41:56.125]:dirXML-Association ST: Arg Value: "AD-SLHNAZ".
[02/15/19 13:41:56.126]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.127]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.128]:dirXML-Association ST: Token Value: "AD-SLHNAZ".
[02/15/19 13:41:56.129]:dirXML-Association ST: Arg Value: "AD-SLHNAZ".
[02/15/19 13:41:56.130]:dirXML-Association ST: Token Value: {"AD-SLHNAZ"}.
[02/15/19 13:41:56.132]:dirXML-Association ST: Arg Value: {"AD-SLHNAZ"}.
[02/15/19 13:41:56.133]:dirXML-Association ST: Action: do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
[02/15/19 13:41:56.136]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
[02/15/19 13:41:56.139]:dirXML-Association ST: token-xpath("$lv_tmpParse[1]")
[02/15/19 13:41:56.140]:dirXML-Association ST: Token Value: "AD-SLHNAZ".
[02/15/19 13:41:56.141]:dirXML-Association ST: token-xpath("$lv_tmpParse[2]")
[02/15/19 13:41:56.143]:dirXML-Association ST: Token Value: "".
[02/15/19 13:41:56.144]:dirXML-Association ST: Arg Value: "AD-SLHNAZ".
[02/15/19 13:41:56.145]:dirXML-Association ST: Action: do-if().
[02/15/19 13:41:56.147]:dirXML-Association ST: Evaluating conditions.
[02/15/19 13:41:56.148]:dirXML-Association ST: (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
[02/15/19 13:41:56.149]:dirXML-Association ST: Performing else actions.
[02/15/19 13:41:56.150]:dirXML-Association ST: Performing actions for local-variable(current-node) = <value> @timestamp = "1506508557#27" @type = "structured".
[02/15/19 13:41:56.153]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
[02/15/19 13:41:56.157]:dirXML-Association ST: arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
[02/15/19 13:41:56.160]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.163]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.166]:dirXML-Association ST: token-xpath("$current-node//./component[@name="volume"]/text()")
[02/15/19 13:41:56.168]:dirXML-Association ST: Token Value: "\ACME-TEST\system\Driver Set\Data Collection Service Driver".
[02/15/19 13:41:56.171]:dirXML-Association ST: Arg Value: "\ACME-TEST\system\Driver Set\Data Collection Service Driver".
[02/15/19 13:41:56.173]:dirXML-Association ST: Token Value: "Data Collection Service Driver".
[02/15/19 13:41:56.175]:dirXML-Association ST: Arg Value: "Data Collection Service Driver".
[02/15/19 13:41:56.176]:dirXML-Association ST: Action: do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
[02/15/19 13:41:56.179]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.180]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.182]:dirXML-Association ST: Token Value: "Data Collection Service Driver".
[02/15/19 13:41:56.183]:dirXML-Association ST: Arg Value: "Data Collection Service Driver".
[02/15/19 13:41:56.185]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))).
[02/15/19 13:41:56.187]:dirXML-Association ST: arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
[02/15/19 13:41:56.189]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.191]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.193]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.194]:dirXML-Association ST: Token Value: "Data Collection Service Driver".
[02/15/19 13:41:56.195]:dirXML-Association ST: Arg Value: "Data Collection Service Driver".
[02/15/19 13:41:56.197]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.198]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.202]:dirXML-Association ST: Token Value: "Data Collection Service Driver".
[02/15/19 13:41:56.203]:dirXML-Association ST: Arg Value: "Data Collection Service Driver".
[02/15/19 13:41:56.204]:dirXML-Association ST: Token Value: {"Data","Collection","Service","Driver"}.
[02/15/19 13:41:56.205]:dirXML-Association ST: Arg Value: {"Data","Collection","Service","Driver"}.
[02/15/19 13:41:56.206]:dirXML-Association ST: Action: do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
[02/15/19 13:41:56.208]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
[02/15/19 13:41:56.209]:dirXML-Association ST: token-xpath("$lv_tmpParse[1]")
[02/15/19 13:41:56.210]:dirXML-Association ST: Token Value: "Data".
[02/15/19 13:41:56.211]:dirXML-Association ST: token-xpath("$lv_tmpParse[2]")
[02/15/19 13:41:56.212]:dirXML-Association ST: Token Value: "Collection".
[02/15/19 13:41:56.212]:dirXML-Association ST: Arg Value: "DataCollection".
[02/15/19 13:41:56.213]:dirXML-Association ST: Action: do-if().
[02/15/19 13:41:56.214]:dirXML-Association ST: Evaluating conditions.
[02/15/19 13:41:56.215]:dirXML-Association ST: (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
[02/15/19 13:41:56.217]:dirXML-Association ST: Performing else actions.
[02/15/19 13:41:56.219]:dirXML-Association ST: Performing actions for local-variable(current-node) = <value> @timestamp = "1550182861#11" @type = "structured".
[02/15/19 13:41:56.221]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
[02/15/19 13:41:56.226]:dirXML-Association ST: arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
[02/15/19 13:41:56.229]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.232]:dirXML-Association ST: token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
[02/15/19 13:41:56.234]:dirXML-Association ST: token-xpath("$current-node//./component[@name="volume"]/text()")
[02/15/19 13:41:56.236]:dirXML-Association ST: Token Value: "\ACME-TEST\system\Driver Set\Bulk Resource Load".
[02/15/19 13:41:56.239]:dirXML-Association ST: Arg Value: "\ACME-TEST\system\Driver Set\Bulk Resource Load".
[02/15/19 13:41:56.245]:dirXML-Association ST: Token Value: "Bulk Resource Load".
[02/15/19 13:41:56.246]:dirXML-Association ST: Arg Value: "Bulk Resource Load".
[02/15/19 13:41:56.247]:dirXML-Association ST: Action: do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
[02/15/19 13:41:56.248]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.249]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.250]:dirXML-Association ST: Token Value: "Bulk Resource Load".
[02/15/19 13:41:56.251]:dirXML-Association ST: Arg Value: "Bulk Resource Load".
[02/15/19 13:41:56.252]:dirXML-Association ST: Action: do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))).
[02/15/19 13:41:56.254]:dirXML-Association ST: arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
[02/15/19 13:41:56.255]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.256]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.257]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.259]:dirXML-Association ST: Token Value: "Bulk Resource Load".
[02/15/19 13:41:56.261]:dirXML-Association ST: Arg Value: "Bulk Resource Load".
[02/15/19 13:41:56.263]:dirXML-Association ST: token-split(" ",token-xpath("$lv_tmpParse"))
[02/15/19 13:41:56.264]:dirXML-Association ST: token-xpath("$lv_tmpParse")
[02/15/19 13:41:56.266]:dirXML-Association ST: Token Value: "Bulk Resource Load".
[02/15/19 13:41:56.267]:dirXML-Association ST: Arg Value: "Bulk Resource Load".
[02/15/19 13:41:56.269]:dirXML-Association ST: Token Value: {"Bulk","Resource","Load"}.
[02/15/19 13:41:56.271]:dirXML-Association ST: Arg Value: {"Bulk","Resource","Load"}.
[02/15/19 13:41:56.272]:dirXML-Association ST: Action: do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
[02/15/19 13:41:56.275]:dirXML-Association ST: arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
[02/15/19 13:41:56.277]:dirXML-Association ST: token-xpath("$lv_tmpParse[1]")
[02/15/19 13:41:56.279]:dirXML-Association ST: Token Value: "Bulk".
[02/15/19 13:41:56.280]:dirXML-Association ST: token-xpath("$lv_tmpParse[2]")
[02/15/19 13:41:56.281]:dirXML-Association ST: Token Value: "Resource".
[02/15/19 13:41:56.282]:dirXML-Association ST: Arg Value: "BulkResource".
[02/15/19 13:41:56.284]:dirXML-Association ST: Action: do-if().
[02/15/19 13:41:56.285]:dirXML-Association ST: Evaluating conditions.
[02/15/19 13:41:56.286]:dirXML-Association ST: (if-local-variable 'lv_Resource' equal "BulkResource") = TRUE.
[02/15/19 13:41:56.288]:dirXML-Association ST: Performing if actions.
[02/15/19 13:41:56.289]:dirXML-Association ST: Action: do-remove-association(direct="true",arg-association(token-association())).
[02/15/19 13:41:56.292]:dirXML-Association ST: arg-association(token-association())
[02/15/19 13:41:56.293]:dirXML-Association ST: token-association()
[02/15/19 13:41:56.295]:dirXML-Association ST: Token Value: "".
[02/15/19 13:41:56.296]:dirXML-Association ST: Arg Value: "".
[02/15/19 13:41:56.298]:dirXML-Association ST:
DirXML Log Event -------------------
Driver: \ACME-TEST\system\Driver Set\Remove Assocations
Channel: Subscriber
Status: Error
Message: Code(-9145) Error in vnd.nds.stream://ACME-TEST/system/Driver+Set/Remove+Assocations/Subscriber/Remove+DirXML-Assocation#XmlData:53 : Unable to determine target object for action 'do-remove-association(direct="true",arg-association(token-association()))'.
[02/15/19 13:41:56.305]:dirXML-Association ST:
DirXML Log Event -------------------
Driver: \ACME-TEST\system\Driver Set\Remove Assocations
Channel: Subscriber
Status: Error
Message: Code(-9083) Error submitting event to subscriber: Code(-9145) Error in vnd.nds.stream://ACME-TEST/system/Driver+Set/Remove+Assocations/Subscriber/Remove+DirXML-Assocation#XmlData:53 : Unable to determine target object for action 'do-remove-association(direct="true",arg-association(token-association()))'.
[02/15/19 13:42:07.813]:dirXML-Association PT:Receiving DOM document from application.
[02/15/19 13:42:07.813]:dirXML-Association PT:
<nds dtdversion="4.0">
<source>
<product build="20170208_080614" instance="Remove Assocations" version="4.6.0.0">DirXML Null Driver</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<status level="success" type="heartbeat"/>
</input>
</nds>
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Code 9063 object already associated

On 2/15/2019 4:04 PM, caseosborne wrote:
>
> Ya I just created a Null driver so I can do on subscriber side. I am now
> able to read all the dirXML-Associations and even match on the right one
> I am looking for, but I do not know how to remove that value from eDir
> without clearing all source attr DirXML-Associations, is it an XPATH
> command to clear the one particular dirXML-Association?


Because it is path syntax, you need to remove all the proper components
together.

Easy way is loop over source-attr DirXML-Associations.

First build a variable that is \TreeName\DriverDN using the two auto
GCV's. I think the driverDN does not incllude the tree name so you have
to add it first.

Then test if XPATH $current-node/component[@name="volume"]/tetxt()=$MyDriver

Then remove src attr, DirXML-Associations, type=Structured
There components are:
nameSpace XPATH $current-node/component[@name="nameSpace"]/text()
Volume: $current-node/component[@name="volume"]/text()
Path: $current-node/component[@name="path"]/text()

This is trickier on a DirXML-EntitlementRef since that is also PATH
syntax, it uses a variant, where the last component is path.xml and you
have specify a nodeset of XML, not text of XML.

> <input>
> <modify cached-time="20190215204155.811Z" class-name="User"
> event-id="c1vtlidm2edirwb01#20190215204155#3#1:37186e1e-066a-4cb4-8722-1e6e18376a06"
> qualified-src-dn="O=data\OU=users\CN=JOHVILLA"
> src-dn="\ACME-TEST\data\users\JOHVILLA" src-entry-id="33579"
> timestamp="1550263315#2">
> <modify-attr attr-name="workforceID">
> <remove-value>
> <value timestamp="1550262577#5" type="string">133111 </value>
> </remove-value>
> <add-value>
> <value timestamp="1550263315#2" type="string">133111</value>
> </add-value>
> </modify-attr>
> </modify>
> </input>
> </nds>
> [02/15/19 13:41:55.909]:dirXML-Association ST:Applying event
> transformation policies.
> [02/15/19 13:41:55.910]:dirXML-Association ST:Applying policy:
> %+C%14CRemove DirXML-Assocation%-C.
> [02/15/19 13:41:55.911]:dirXML-Association ST: Applying to modify #1.
> [02/15/19 13:41:55.912]:dirXML-Association ST: Evaluating selection
> criteria for rule 'Remove Bulk Load Assocation'.
> [02/15/19 13:41:55.913]:dirXML-Association ST: (if-class-name equal
> "user") = TRUE.
> [02/15/19 13:41:55.914]:dirXML-Association ST: (if-operation equal
> "Modify") = TRUE.
> [02/15/19 13:41:55.915]:dirXML-Association ST: Rule selected.
> [02/15/19 13:41:55.915]:dirXML-Association ST: Applying rule 'Remove
> Bulk Load Assocation'.
> [02/15/19 13:41:55.916]:dirXML-Association ST: Action:
> do-set-local-variable("lv_DirXML-Associations",scope="policy",arg-node-set(token-src-attr("DirXML-Associations"))).
> [02/15/19 13:41:55.918]:dirXML-Association ST:
> arg-node-set(token-src-attr("DirXML-Associations"))
> [02/15/19 13:41:55.919]:dirXML-Association ST:
> token-src-attr("DirXML-Associations")
> [02/15/19 13:41:55.920]:dirXML-Association ST: Query from
> policy
> [02/15/19 13:41:55.921]:dirXML-Association ST:
> <nds dtdversion="4.0" ndsversion="8.x">
> <source>
> <product edition="Advanced" version="4.6.0.0">DirXML</product>
> <contact>NetIQ Corporation</contact>
> </source>
> <input>
> <query class-name="User" dest-dn="\ACME-TEST\data\users\JOHVILLA"
> dest-entry-id="33579" scope="entry">
> <read-attr attr-name="DirXML-Associations"/>
> </query>
> </input>
> </nds>
> [02/15/19 13:41:55.925]:dirXML-Association ST: Pumping XDS to
> eDirectory.
> [02/15/19 13:41:55.926]:dirXML-Association ST: Performing
> operation query for \ACME-TEST\data\users\JOHVILLA.
> [02/15/19 13:41:55.928]:dirXML-Association ST: --JCLNT--
> \ACME-TEST\system\Driver Set\Remove Assocations : Duplicating : context
> = 9830564, tempContext = 9830919
> [02/15/19 13:41:55.930]:dirXML-Association ST: --JCLNT--
> \ACME-TEST\system\Driver Set\Remove Assocations : Calling free on
> tempContext = 9830919
> [02/15/19 13:41:55.931]:dirXML-Association ST: Query from
> policy result
> [02/15/19 13:41:55.932]:dirXML-Association ST:
> <nds dtdversion="4.0" ndsversion="8.x">
> <source>
> <product edition="Advanced" version="4.6.0.0">DirXML</product>
> <contact>NetIQ Corporation</contact>
> </source>
> <output>
> <instance class-name="User"
> qualified-src-dn="O=data\OU=users\CN=JOHVILLA"
> src-dn="\ACME-TEST\data\users\JOHVILLA" src-entry-id="33579">
> <attr attr-name="DirXML-Associations">
> <value timestamp="1453480129#6" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\ACME-TEST\system\Driver
> Set\ServiceNow Driver</component>
> <component
> name="path">7c482f916f83398068ceda0cbb3ee4e3</component>
> </value>
> <value timestamp="1455901386#1" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\ACME-TEST\system\Driver Set\Ultipro
> Output</component>
> <component name="path">John.Villa@ACME.com</component>
> </value>
> <value timestamp="1499983280#1" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\ACME-TEST\system\Driver
> Set\AD-SLHNAZ</component>
> <component
> name="path">8252933cec84214bab6077539a4ec818</component>
> </value>
> <value timestamp="1506508557#27" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\ACME-TEST\system\Driver Set\Data
> Collection Service Driver</component>
> <component
> name="path">E080B068-8501-c542-ECBF-E080B0688501</component>
> </value>
> <value timestamp="1550182861#11" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\ACME-TEST\system\Driver Set\Bulk
> Resource Load</component>
> <component name="path"/>
> </value>
> <value timestamp="1550248667#11" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\ACME-TEST\system\Driver
> Set\Gallagher Output DB</component>
> <component
> name="path">IDU=14998,table=USR,schema=INDIRECT</component>
> </value>
> </attr>
> </instance>
> <status level="success"></status>
> </output>
> </nds>
> [02/15/19 13:41:55.955]:dirXML-Association ST: Token Value:
> {<value> @timestamp = "1453480129#6" @type = "structured",<value>
> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp =
> "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27"
> @type = "structured",<value> @timestamp = "1550182861#11" @type =
> "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
> [02/15/19 13:41:55.959]:dirXML-Association ST: Arg Value:
> {<value> @timestamp = "1453480129#6" @type = "structured",<value>
> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp =
> "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27"
> @type = "structured",<value> @timestamp = "1550182861#11" @type =
> "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
> [02/15/19 13:41:55.963]:dirXML-Association ST: Action:
> do-for-each(arg-node-set(token-local-variable("lv_DirXML-Associations"))).
> [02/15/19 13:41:55.965]:dirXML-Association ST:
> arg-node-set(token-local-variable("lv_DirXML-Associations"))
> [02/15/19 13:41:55.966]:dirXML-Association ST:
> token-local-variable("lv_DirXML-Associations")
> [02/15/19 13:41:55.967]:dirXML-Association ST: Token Value:
> {<value> @timestamp = "1453480129#6" @type = "structured",<value>
> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp =
> "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27"
> @type = "structured",<value> @timestamp = "1550182861#11" @type =
> "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
> [02/15/19 13:41:55.971]:dirXML-Association ST: Arg Value:
> {<value> @timestamp = "1453480129#6" @type = "structured",<value>
> @timestamp = "1455901386#1" @type = "structured",<value> @timestamp =
> "1499983280#1" @type = "structured",<value> @timestamp = "1506508557#27"
> @type = "structured",<value> @timestamp = "1550182861#11" @type =
> "structured",<value> @timestamp = "1550248667#11" @type = "structured"}.
> [02/15/19 13:41:55.975]:dirXML-Association ST: Performing actions
> for local-variable(current-node) = <value> @timestamp = "1453480129#6"
> @type = "structured".
> [02/15/19 13:41:55.976]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
> [02/15/19 13:41:55.978]:dirXML-Association ST:
> arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
> [02/15/19 13:41:55.980]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:55.982]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:55.983]:dirXML-Association ST:
> token-xpath("$current-node//./component[@name="volume"]/text()")
> [02/15/19 13:41:55.985]:dirXML-Association ST: Token
> Value: "\ACME-TEST\system\Driver Set\ServiceNow Driver".
> [02/15/19 13:41:55.986]:dirXML-Association ST: Arg
> Value: "\ACME-TEST\system\Driver Set\ServiceNow Driver".
> [02/15/19 13:41:55.987]:dirXML-Association ST: Token
> Value: "ServiceNow Driver".
> [02/15/19 13:41:55.988]:dirXML-Association ST: Arg Value:
> "ServiceNow Driver".
> [02/15/19 13:41:55.989]:dirXML-Association ST: Action:
> do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
> [02/15/19 13:41:55.990]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:55.991]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:55.992]:dirXML-Association ST: Token
> Value: "ServiceNow Driver".
> [02/15/19 13:41:55.993]:dirXML-Association ST: Arg Value:
> "ServiceNow Driver".
> [02/15/19 13:41:55.995]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split("
> ",token-xpath("$lv_tmpParse")))).
> [02/15/19 13:41:56.000]:dirXML-Association ST:
> arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
> [02/15/19 13:41:56.002]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.004]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.006]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.007]:dirXML-Association ST: Token
> Value: "ServiceNow Driver".
> [02/15/19 13:41:56.009]:dirXML-Association ST: Arg
> Value: "ServiceNow Driver".
> [02/15/19 13:41:56.010]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.012]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.014]:dirXML-Association ST: Token
> Value: "ServiceNow Driver".
> [02/15/19 13:41:56.015]:dirXML-Association ST: Arg
> Value: "ServiceNow Driver".
> [02/15/19 13:41:56.017]:dirXML-Association ST: Token Value:
> {"ServiceNow","Driver"}.
> [02/15/19 13:41:56.018]:dirXML-Association ST: Arg Value:
> {"ServiceNow","Driver"}.
> [02/15/19 13:41:56.020]:dirXML-Association ST: Action:
> do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
> [02/15/19 13:41:56.023]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
> [02/15/19 13:41:56.025]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[1]")
> [02/15/19 13:41:56.042]:dirXML-Association ST: Token
> Value: "ServiceNow".
> [02/15/19 13:41:56.042]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[2]")
> [02/15/19 13:41:56.043]:dirXML-Association ST: Token
> Value: "Driver".
> [02/15/19 13:41:56.044]:dirXML-Association ST: Arg Value:
> "ServiceNowDriver".
> [02/15/19 13:41:56.045]:dirXML-Association ST: Action: do-if().
> [02/15/19 13:41:56.046]:dirXML-Association ST: Evaluating
> conditions.
> [02/15/19 13:41:56.047]:dirXML-Association ST:
> (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
> [02/15/19 13:41:56.048]:dirXML-Association ST: Performing
> else actions.
> [02/15/19 13:41:56.049]:dirXML-Association ST: Performing actions
> for local-variable(current-node) = <value> @timestamp = "1455901386#1"
> @type = "structured".
> [02/15/19 13:41:56.050]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
> [02/15/19 13:41:56.053]:dirXML-Association ST:
> arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
> [02/15/19 13:41:56.054]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.056]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.058]:dirXML-Association ST:
> token-xpath("$current-node//./component[@name="volume"]/text()")
> [02/15/19 13:41:56.059]:dirXML-Association ST: Token
> Value: "\ACME-TEST\system\Driver Set\Ultipro Output".
> [02/15/19 13:41:56.060]:dirXML-Association ST: Arg
> Value: "\ACME-TEST\system\Driver Set\Ultipro Output".
> [02/15/19 13:41:56.061]:dirXML-Association ST: Token
> Value: "Ultipro Output".
> [02/15/19 13:41:56.062]:dirXML-Association ST: Arg Value:
> "Ultipro Output".
> [02/15/19 13:41:56.063]:dirXML-Association ST: Action:
> do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
> [02/15/19 13:41:56.065]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.066]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.067]:dirXML-Association ST: Token
> Value: "Ultipro Output".
> [02/15/19 13:41:56.067]:dirXML-Association ST: Arg Value:
> "Ultipro Output".
> [02/15/19 13:41:56.070]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split("
> ",token-xpath("$lv_tmpParse")))).
> [02/15/19 13:41:56.072]:dirXML-Association ST:
> arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
> [02/15/19 13:41:56.075]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.078]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.079]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.080]:dirXML-Association ST: Token
> Value: "Ultipro Output".
> [02/15/19 13:41:56.081]:dirXML-Association ST: Arg
> Value: "Ultipro Output".
> [02/15/19 13:41:56.082]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.083]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.084]:dirXML-Association ST: Token
> Value: "Ultipro Output".
> [02/15/19 13:41:56.084]:dirXML-Association ST: Arg
> Value: "Ultipro Output".
> [02/15/19 13:41:56.085]:dirXML-Association ST: Token Value:
> {"Ultipro","Output"}.
> [02/15/19 13:41:56.087]:dirXML-Association ST: Arg Value:
> {"Ultipro","Output"}.
> [02/15/19 13:41:56.088]:dirXML-Association ST: Action:
> do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
> [02/15/19 13:41:56.089]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
> [02/15/19 13:41:56.091]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[1]")
> [02/15/19 13:41:56.092]:dirXML-Association ST: Token
> Value: "Ultipro".
> [02/15/19 13:41:56.092]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[2]")
> [02/15/19 13:41:56.093]:dirXML-Association ST: Token
> Value: "Output".
> [02/15/19 13:41:56.094]:dirXML-Association ST: Arg Value:
> "UltiproOutput".
> [02/15/19 13:41:56.095]:dirXML-Association ST: Action: do-if().
> [02/15/19 13:41:56.096]:dirXML-Association ST: Evaluating
> conditions.
> [02/15/19 13:41:56.097]:dirXML-Association ST:
> (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
> [02/15/19 13:41:56.098]:dirXML-Association ST: Performing
> else actions.
> [02/15/19 13:41:56.099]:dirXML-Association ST: Performing actions
> for local-variable(current-node) = <value> @timestamp = "1499983280#1"
> @type = "structured".
> [02/15/19 13:41:56.100]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
> [02/15/19 13:41:56.103]:dirXML-Association ST:
> arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
> [02/15/19 13:41:56.104]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.106]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.108]:dirXML-Association ST:
> token-xpath("$current-node//./component[@name="volume"]/text()")
> [02/15/19 13:41:56.109]:dirXML-Association ST: Token
> Value: "\ACME-TEST\system\Driver Set\AD-SLHNAZ".
> [02/15/19 13:41:56.110]:dirXML-Association ST: Arg
> Value: "\ACME-TEST\system\Driver Set\AD-SLHNAZ".
> [02/15/19 13:41:56.111]:dirXML-Association ST: Token
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.112]:dirXML-Association ST: Arg Value:
> "AD-SLHNAZ".
> [02/15/19 13:41:56.113]:dirXML-Association ST: Action:
> do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
> [02/15/19 13:41:56.114]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.115]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.116]:dirXML-Association ST: Token
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.117]:dirXML-Association ST: Arg Value:
> "AD-SLHNAZ".
> [02/15/19 13:41:56.118]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split("
> ",token-xpath("$lv_tmpParse")))).
> [02/15/19 13:41:56.120]:dirXML-Association ST:
> arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
> [02/15/19 13:41:56.121]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.122]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.124]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.124]:dirXML-Association ST: Token
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.125]:dirXML-Association ST: Arg
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.126]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.127]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.128]:dirXML-Association ST: Token
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.129]:dirXML-Association ST: Arg
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.130]:dirXML-Association ST: Token Value:
> {"AD-SLHNAZ"}.
> [02/15/19 13:41:56.132]:dirXML-Association ST: Arg Value:
> {"AD-SLHNAZ"}.
> [02/15/19 13:41:56.133]:dirXML-Association ST: Action:
> do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
> [02/15/19 13:41:56.136]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
> [02/15/19 13:41:56.139]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[1]")
> [02/15/19 13:41:56.140]:dirXML-Association ST: Token
> Value: "AD-SLHNAZ".
> [02/15/19 13:41:56.141]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[2]")
> [02/15/19 13:41:56.143]:dirXML-Association ST: Token
> Value: "".
> [02/15/19 13:41:56.144]:dirXML-Association ST: Arg Value:
> "AD-SLHNAZ".
> [02/15/19 13:41:56.145]:dirXML-Association ST: Action: do-if().
> [02/15/19 13:41:56.147]:dirXML-Association ST: Evaluating
> conditions.
> [02/15/19 13:41:56.148]:dirXML-Association ST:
> (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
> [02/15/19 13:41:56.149]:dirXML-Association ST: Performing
> else actions.
> [02/15/19 13:41:56.150]:dirXML-Association ST: Performing actions
> for local-variable(current-node) = <value> @timestamp = "1506508557#27"
> @type = "structured".
> [02/15/19 13:41:56.153]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
> [02/15/19 13:41:56.157]:dirXML-Association ST:
> arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
> [02/15/19 13:41:56.160]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.163]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.166]:dirXML-Association ST:
> token-xpath("$current-node//./component[@name="volume"]/text()")
> [02/15/19 13:41:56.168]:dirXML-Association ST: Token
> Value: "\ACME-TEST\system\Driver Set\Data Collection Service Driver".
> [02/15/19 13:41:56.171]:dirXML-Association ST: Arg
> Value: "\ACME-TEST\system\Driver Set\Data Collection Service Driver".
> [02/15/19 13:41:56.173]:dirXML-Association ST: Token
> Value: "Data Collection Service Driver".
> [02/15/19 13:41:56.175]:dirXML-Association ST: Arg Value:
> "Data Collection Service Driver".
> [02/15/19 13:41:56.176]:dirXML-Association ST: Action:
> do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
> [02/15/19 13:41:56.179]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.180]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.182]:dirXML-Association ST: Token
> Value: "Data Collection Service Driver".
> [02/15/19 13:41:56.183]:dirXML-Association ST: Arg Value:
> "Data Collection Service Driver".
> [02/15/19 13:41:56.185]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split("
> ",token-xpath("$lv_tmpParse")))).
> [02/15/19 13:41:56.187]:dirXML-Association ST:
> arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
> [02/15/19 13:41:56.189]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.191]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.193]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.194]:dirXML-Association ST: Token
> Value: "Data Collection Service Driver".
> [02/15/19 13:41:56.195]:dirXML-Association ST: Arg
> Value: "Data Collection Service Driver".
> [02/15/19 13:41:56.197]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.198]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.202]:dirXML-Association ST: Token
> Value: "Data Collection Service Driver".
> [02/15/19 13:41:56.203]:dirXML-Association ST: Arg
> Value: "Data Collection Service Driver".
> [02/15/19 13:41:56.204]:dirXML-Association ST: Token Value:
> {"Data","Collection","Service","Driver"}.
> [02/15/19 13:41:56.205]:dirXML-Association ST: Arg Value:
> {"Data","Collection","Service","Driver"}.
> [02/15/19 13:41:56.206]:dirXML-Association ST: Action:
> do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
> [02/15/19 13:41:56.208]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
> [02/15/19 13:41:56.209]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[1]")
> [02/15/19 13:41:56.210]:dirXML-Association ST: Token
> Value: "Data".
> [02/15/19 13:41:56.211]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[2]")
> [02/15/19 13:41:56.212]:dirXML-Association ST: Token
> Value: "Collection".
> [02/15/19 13:41:56.212]:dirXML-Association ST: Arg Value:
> "DataCollection".
> [02/15/19 13:41:56.213]:dirXML-Association ST: Action: do-if().
> [02/15/19 13:41:56.214]:dirXML-Association ST: Evaluating
> conditions.
> [02/15/19 13:41:56.215]:dirXML-Association ST:
> (if-local-variable 'lv_Resource' equal "BulkResource") = FALSE.
> [02/15/19 13:41:56.217]:dirXML-Association ST: Performing
> else actions.
> [02/15/19 13:41:56.219]:dirXML-Association ST: Performing actions
> for local-variable(current-node) = <value> @timestamp = "1550182861#11"
> @type = "structured".
> [02/15/19 13:41:56.221]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))).
> [02/15/19 13:41:56.226]:dirXML-Association ST:
> arg-string(token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()")))
> [02/15/19 13:41:56.229]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.232]:dirXML-Association ST:
> token-parse-dn(length="1",start="-1",token-xpath("$current-node//./component[@name="volume"]/text()"))
> [02/15/19 13:41:56.234]:dirXML-Association ST:
> token-xpath("$current-node//./component[@name="volume"]/text()")
> [02/15/19 13:41:56.236]:dirXML-Association ST: Token
> Value: "\ACME-TEST\system\Driver Set\Bulk Resource Load".
> [02/15/19 13:41:56.239]:dirXML-Association ST: Arg
> Value: "\ACME-TEST\system\Driver Set\Bulk Resource Load".
> [02/15/19 13:41:56.245]:dirXML-Association ST: Token
> Value: "Bulk Resource Load".
> [02/15/19 13:41:56.246]:dirXML-Association ST: Arg Value:
> "Bulk Resource Load".
> [02/15/19 13:41:56.247]:dirXML-Association ST: Action:
> do-set-local-variable("lv_resourcecn",scope="policy",token-xpath("$lv_tmpParse")).
> [02/15/19 13:41:56.248]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.249]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.250]:dirXML-Association ST: Token
> Value: "Bulk Resource Load".
> [02/15/19 13:41:56.251]:dirXML-Association ST: Arg Value:
> "Bulk Resource Load".
> [02/15/19 13:41:56.252]:dirXML-Association ST: Action:
> do-set-local-variable("lv_tmpParse",scope="policy",arg-node-set(token-split("
> ",token-xpath("$lv_tmpParse")))).
> [02/15/19 13:41:56.254]:dirXML-Association ST:
> arg-node-set(token-split(" ",token-xpath("$lv_tmpParse")))
> [02/15/19 13:41:56.255]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.256]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.257]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.259]:dirXML-Association ST: Token
> Value: "Bulk Resource Load".
> [02/15/19 13:41:56.261]:dirXML-Association ST: Arg
> Value: "Bulk Resource Load".
> [02/15/19 13:41:56.263]:dirXML-Association ST:
> token-split(" ",token-xpath("$lv_tmpParse"))
> [02/15/19 13:41:56.264]:dirXML-Association ST:
> token-xpath("$lv_tmpParse")
> [02/15/19 13:41:56.266]:dirXML-Association ST: Token
> Value: "Bulk Resource Load".
> [02/15/19 13:41:56.267]:dirXML-Association ST: Arg
> Value: "Bulk Resource Load".
> [02/15/19 13:41:56.269]:dirXML-Association ST: Token Value:
> {"Bulk","Resource","Load"}.
> [02/15/19 13:41:56.271]:dirXML-Association ST: Arg Value:
> {"Bulk","Resource","Load"}.
> [02/15/19 13:41:56.272]:dirXML-Association ST: Action:
> do-set-local-variable("lv_Resource",scope="policy",token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]")).
> [02/15/19 13:41:56.275]:dirXML-Association ST:
> arg-string(token-xpath("$lv_tmpParse[1]")+token-xpath("$lv_tmpParse[2]"))
> [02/15/19 13:41:56.277]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[1]")
> [02/15/19 13:41:56.279]:dirXML-Association ST: Token
> Value: "Bulk".
> [02/15/19 13:41:56.280]:dirXML-Association ST:
> token-xpath("$lv_tmpParse[2]")
> [02/15/19 13:41:56.281]:dirXML-Association ST: Token
> Value: "Resource".
> [02/15/19 13:41:56.282]:dirXML-Association ST: Arg Value:
> "BulkResource".
> [02/15/19 13:41:56.284]:dirXML-Association ST: Action: do-if().
> [02/15/19 13:41:56.285]:dirXML-Association ST: Evaluating
> conditions.
> [02/15/19 13:41:56.286]:dirXML-Association ST:
> (if-local-variable 'lv_Resource' equal "BulkResource") = TRUE.
> [02/15/19 13:41:56.288]:dirXML-Association ST: Performing if
> actions.
> [02/15/19 13:41:56.289]:dirXML-Association ST: Action:
> do-remove-association(direct="true",arg-association(token-association())).
> [02/15/19 13:41:56.292]:dirXML-Association ST:
> arg-association(token-association())
> [02/15/19 13:41:56.293]:dirXML-Association ST:
> token-association()
> [02/15/19 13:41:56.295]:dirXML-Association ST: Token
> Value: "".
> [02/15/19 13:41:56.296]:dirXML-Association ST: Arg
> Value: "".
> [02/15/19 13:41:56.298]:dirXML-Association ST:
> DirXML Log Event -------------------
> Driver: \ACME-TEST\system\Driver Set\Remove Assocations
> Channel: Subscriber
> Status: Error
> Message: Code(-9145) Error in
> vnd.nds.stream://ACME-TEST/system/Driver+Set/Remove+Assocations/Subscriber/Remove+DirXML-Assocation#XmlData:53
> : Unable to determine target object for action
> 'do-remove-association(direct="true",arg-association(token-association()))'.
> [02/15/19 13:41:56.305]:dirXML-Association ST:
> DirXML Log Event -------------------
> Driver: \ACME-TEST\system\Driver Set\Remove Assocations
> Channel: Subscriber
> Status: Error
> Message: Code(-9083) Error submitting event to subscriber:
> Code(-9145) Error in
> vnd.nds.stream://ACME-TEST/system/Driver+Set/Remove+Assocations/Subscriber/Remove+DirXML-Assocation#XmlData:53
> : Unable to determine target object for action
> 'do-remove-association(direct="true",arg-association(token-association()))'.
> [02/15/19 13:42:07.813]:dirXML-Association PT:Receiving DOM document
> from application.
> [02/15/19 13:42:07.813]:dirXML-Association PT:
> <nds dtdversion="4.0">
> <source>
> <product build="20170208_080614" instance="Remove Assocations"
> version="4.6.0.0">DirXML Null Driver</product>
> <contact>NetIQ Corporation</contact>
> </source>
> <input>
> <status level="success" type="heartbeat"/>
> </input>
> </nds>
>
>


0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Code 9063 object already associated

geoffc;2495436 wrote:
On 2/15/2019 2:24 PM, caseosborne wrote:
>
> I'm also looking at this
> https://www.netiq.com/communities/cool-solutions/lets-talk-about-dirxml-associations/
> to see if there is a way to have a text driver that does not
> create/store the association in eDir, is that even possible? All I am
> using this text driver for is to make bulk calls to add resources via
> Grant or Revoke call to UserApp.


So you do NOT require associations. They are just useful.

If you have an assoc then any further changes are modify's with just the
delta. Good. If there is no assoc and you let it flow, the modify
becomes an add.

Or you could just do everything in policy in the Sub-ETP and ignore
associations. It all depends on what your goal is.


Ok it appears by default they association is on. How do I set in a text driver the assocation to be off by default? I looked in the ITP and I see the XML for the association but don't see a way to disable it or set to "0" or "ignore", unless I just delete everything from the ITP? would that get rid of association?
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Code 9063 object already associated

>> Or you could just do everything in policy in the Sub-ETP and ignore
>> associations. It all depends on what your goal is.

>
> Ok it appears by default they association is on. How do I set in a text
> driver the assocation to be off by default? I looked in the ITP and I
> see the XML for the association but don't see a way to disable it or set
> to "0" or "ignore", unless I just delete everything from the ITP? would
> that get rid of association?


The shim is supposed to send a <add-association> event with the proper
value upon a successful Sub channel add. (On a merge there is often no
event to catch).

So if you do everything in the Sub-ETP you veto the event after you are
done, thus the shim is never involved and never sends the assoc. Same in
Null or Loopback, really.



0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Code 9063 object already associated

geoffc;2495472 wrote:
>> Or you could just do everything in policy in the Sub-ETP and ignore
>> associations. It all depends on what your goal is.

>
> Ok it appears by default they association is on. How do I set in a text
> driver the assocation to be off by default? I looked in the ITP and I
> see the XML for the association but don't see a way to disable it or set
> to "0" or "ignore", unless I just delete everything from the ITP? would
> that get rid of association?


The shim is supposed to send a <add-association> event with the proper
value upon a successful Sub channel add. (On a merge there is often no
event to catch).

So if you do everything in the Sub-ETP you veto the event after you are
done, thus the shim is never involved and never sends the assoc. Same in
Null or Loopback, really.


OK - so this is Text driver on the Pub channel, so you are saying on the sub side event transform place a veto and that should keep assoc from being written? I tried to comment these lines out in the PUB-ITP but still getting associated:

<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet extension-element-prefixes="nxsl" version="1.0" xmlns:nxsl="http://www.novell.com/nxsl" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="association-field-name" select="'~driver.association.attribute~'"/>
<xsl:template match="/">
<xsl:choose>
<!-- if document element is delimited-text, then we need to do the transformation -->
<xsl:when test="delimited-text">
<nds dtdversion="1.1" ndsversion="8.6" xml:space="default">
<input>
<!-- for each record, do an add -->
<xsl:for-each select="delimited-text/record">
<!-- see NDSDTD doc on web for Add verb syntax & details -->
<xsl:variable name="srcdn" select="translate(field[@name=$association-field-name],'+=,.\','-----')"/>
<!-- generate the add event -->
<add class-name="User" src-dn="{$srcdn}">
<!-- generate the association -->
<!-- <association>-->
<!-- <xsl:value-of select="field[@name=$association-field-name]"/>-->
<!-- </association>-->
<!-- handle each field -->
<xsl:for-each select="field[string()]">

<xsl:variable name="attrName" select="@name"/>
<!-- do not translate fields without a 'name' attribute -->
<xsl:if test="string-length($attrName)>0">
<xsl:variable name="fieldValue" select="normalize-space(.)"/>
<!-- only add field value if longer than 1 character -->
<xsl:if test="string-length($fieldValue)>0 and @name != ''">
<!-- generate the add-attr -->
<add-attr attr-name="{@name}">
<!-- generate the value element using string syntax -->
<!-- note that attributes that require a structured or octet syntax -->
<!-- may require special handling here -->
<value type="string">
<xsl:value-of select="$fieldValue"/>
</value>
</add-attr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</add>
</xsl:for-each>
</input>
</nds>
</xsl:when>
<xsl:otherwise>
<!-- if the document element is not <delimited-text> copy as is-->
<xsl:copy-of select="."/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Code 9063 object already associated

On 2/18/2019 9:34 AM, caseosborne wrote:
>
> geoffc;2495472 Wrote:
>>>> Or you could just do everything in policy in the Sub-ETP and ignore
>>>> associations. It all depends on what your goal is.
>>>
>>> Ok it appears by default they association is on. How do I set in a

>> text
>>> driver the assocation to be off by default? I looked in the ITP and I
>>> see the XML for the association but don't see a way to disable it or

>> set
>>> to "0" or "ignore", unless I just delete everything from the ITP?

>> would
>>> that get rid of association?

>>
>> The shim is supposed to send a <add-association> event with the proper
>> value upon a successful Sub channel add. (On a merge there is often no
>> event to catch).
>>
>> So if you do everything in the Sub-ETP you veto the event after you are
>> done, thus the shim is never involved and never sends the assoc. Same
>> in
>> Null or Loopback, really.

>
> OK - so this is Text driver on the Pub channel, so you are saying on the
> sub side event transform place a veto and that should keep assoc from
> being written? I tried to comment these lines out in the PUB-ITP but
> still getting associated:
>
> <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet
> extension-element-prefixes="nxsl" version="1.0"
> xmlns:nxsl="http://www.novell.com/nxsl"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:variable name="association-field-name"
> select="'~driver.association.attribute~'"/>
> <xsl:template match="/">
> <xsl:choose>
> <!-- if document element is delimited-text, then we need to do the
> transformation -->
> <xsl:when test="delimited-text">
> <nds dtdversion="1.1" ndsversion="8.6" xml:space="default">
> <input>
> <!-- for each record, do an add -->
> <xsl:for-each select="delimited-text/record">
> <!-- see NDSDTD doc on web for Add verb syntax & details -->
> <xsl:variable name="srcdn"
> select="translate(field[@name=$association-field-name],'+=,.\','-----')"/>
> <!-- generate the add event -->
> <add class-name="User" src-dn="{$srcdn}">
> *<!-- generate the association -->
> <!-- <association>-->
> <!-- <xsl:value-of
> select="field[@name=$association-field-name]"/>-->
> <!-- </association>-->
> <!-- handle each field -->
> <xsl:for-each select="field[string()]">*
> <xsl:variable name="attrName" select="@name"/>
> <!-- do not translate fields without a 'name' attribute -->
> <xsl:if test="string-length($attrName)>0">
> <xsl:variable name="fieldValue" select="normalize-space(.)"/>
> <!-- only add field value if longer than 1 character -->
> <xsl:if test="string-length($fieldValue)>0 and @name != ''">
> <!-- generate the add-attr -->
> <add-attr attr-name="{@name}">
> <!-- generate the value element using string syntax -->
> <!-- note that attributes that require a structured or octet
> syntax -->
> <!-- may require special handling here -->
> <value type="string">
> <xsl:value-of select="$fieldValue"/>
> </value>
> </add-attr>
> </xsl:if>
> </xsl:if>
> </xsl:for-each>
> </add>
> </xsl:for-each>
> </input>
> </nds>
> </xsl:when>
> <xsl:otherwise>
> <!-- if the document element is not <delimited-text> copy as is-->
> <xsl:copy-of select="."/>
> </xsl:otherwise>
> </xsl:choose>
> </xsl:template>
> </xsl:stylesheet>


At first glance, that looks like it should work. Avoiding writing out
the association.

If however it does get past it one option is to Strip by XPATH
'association' and that will clean it up after the XSLT.



0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Code 9063 object already associated

caseosborne;2495439 wrote:
Ok it appears by default they association is on. How do I set in a text driver the assocation to be off by default? I looked in the ITP and I see the XML for the association but don't see a way to disable it or set to "0" or "ignore", unless I just delete everything from the ITP? would that get rid of association?


You should stop trying to force this driver to work the way you think it should. You should work with it, not against it.

On the publisher for the DelimText driver, you can either:

1. Do everything you need to do in the publisher event transform, then veto() to block it from getting any further.

2. Set up a proper publisher matching rule, and a workable association value using the data in the input CSV file. See the association value GCV and/or the input transform XSLT that sets it up. Then do all of your work on the publisher command transform.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Code 9063 object already associated

dgersic;2495551 wrote:
You should stop trying to force this driver to work the way you think it should. You should work with it, not against it.

On the publisher for the DelimText driver, you can either:

1. Do everything you need to do in the publisher event transform, then veto() to block it from getting any further.

2. Set up a proper publisher matching rule, and a workable association value using the data in the input CSV file. See the association value GCV and/or the input transform XSLT that sets it up. Then do all of your work on the publisher command transform.


Thanks - I put my matching and commands in the PUB - Event Transform and then strip op attributes and break. This is working perfectly because I am able to use the Grant resource function there. This also keeps any driver association from being built in the DirXML-Association list. I have tested with multiple resources to the same user and no issues.

Thanks everyone!

Casey
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.