Hi:

My Environment

- IDM 4.0.2
- eDirectory 8.8 SP7 (20701.48)
- Driver Version 3.6.12


My Problem

When you delete an object from the metadirectory, I need to send a
disabling of the user towards the platform.
As deleted operation does not reach the command, I have put the logic in
the Event Transform.

In the trace Level 3, which shows the setting of the disable and the
subsequent error


Code:
--------------------
Start transaction.
Processing events for transaction.

<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<delete cached-time="20131220182813.555Z" class-name="User" event-id="tenaris-meta2#20131220182813#1#1:f714504a-e6cb-480e-bd80-4a5014f7cbe6#0" qualified-src-dn="O=Meta\OU=Accounts\OU=People\CN=702" src-dn="\IDM_TREE\Meta\Accounts\People\702" src-entry-id="34958" timestamp="1387544979#84">
<association state="associated">fanout1-zUXlFYGqx05XpM1F5RWBqg==</association>
</delete>
<delete cached-time="20131220182813.555Z" class-name="User" event-id="tenaris-meta2#20131220182813#1#1:f714504a-e6cb-480e-bd80-4a5014f7cbe6#1" qualified-src-dn="O=Meta\OU=Accounts\OU=People\CN=702" src-dn="\IDM_TREE\Meta\Accounts\People\702" src-entry-id="34958" timestamp="1387544979#84">
<association state="associated">fanout2-zUXlFYGqx05XpM1F5RWBqg==</association>
</delete>
<delete cached-time="20131220182813.555Z" class-name="User" event-id="tenaris-meta2#20131220182813#1#1:f714504a-e6cb-480e-bd80-4a5014f7cbe6#2" qualified-src-dn="O=Meta\OU=Accounts\OU=People\CN=702" src-dn="\IDM_TREE\Meta\Accounts\People\702" src-entry-id="34958" timestamp="1387544979#84">
<association state="associated">\DEV_SAP_RMD100\USd702</association>
</delete>
</input>
</nds>
Applying event transformation policies.
Applying policy: %+C%14CSUB_EventTransform%-C.
Applying to delete #1.
[...]
Applying to delete #3.
[...]
Applying rule 'Process user DELETE on Meta'.
(if-operation not-equal "query") = TRUE.
(if-operation not-equal "add") = TRUE.
(if-association available) = TRUE.
(if-association not-match "fanout1-.+|fanout2-.+") = FALSE.
Rule rejected.
Evaluating selection criteria for rule 'Process user DELETE on Meta'.
[...]
Action: do-set-dest-attr-value("Login Disabled",arg-association(token-association()),"TRUE").
arg-association(token-association())
token-association()
Token Value: "\DEV_SAP_RMD100\USd702".
Arg Value: "\DEV_SAP_RMD100\USd702".

DirXML Log Event -------------------
Driver: \IDM_TREE\Meta\Services\DriverSet1\SAPUMFanout_PRD
Channel: Subscriber
Status: Error
Message: Code(-9010) An exception occurred: java.lang.NullPointerException
at com.novell.nds.dirxml.engine.rules.RuleUtil.findOr CreateModOperation(RuleUtil.java:1397)
at com.novell.nds.dirxml.engine.rules.DoAddDestAttrVa lue.apply(DoAddDestAttrValue.java:185)
at com.novell.nds.dirxml.engine.rules.ActionSet.apply (ActionSet.java:180)
at com.novell.nds.dirxml.engine.rules.DoIf.apply(DoIf .java:84)
at com.novell.nds.dirxml.engine.rules.ActionSet.apply (ActionSet.java:180)
at com.novell.nds.dirxml.engine.rules.DoForEach.apply (DoForEach.java:137)
at com.novell.nds.dirxml.engine.rules.ActionSet.apply (ActionSet.java:180)
at com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:307)
at com.novell.nds.dirxml.engine.Subscriber.processEve nts(Subscriber.java:902)
at com.novell.nds.dirxml.engine.Driver.submitTransact ion(Driver.java:628)
at com.novell.nds.dirxml.engine.DriverEntry.submitTra nsaction(DriverEntry.java:1065)
at com.novell.nds.dirxml.engine.DriverEntry.processCa chedTransaction(DriverEntry.java:949)
at com.novell.nds.dirxml.engine.DriverEntry.eventLoop (DriverEntry.java:771)
at com.novell.nds.dirxml.engine.DriverEntry.run(Drive rEntry.java:561)
at java.lang.Thread.run(Unknown Source)

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

Any ideas

Thanks


--
letroncoso
------------------------------------------------------------------------
letroncoso's Profile: https://forums.netiq.com/member.php?userid=743
View this thread: https://forums.netiq.com/showthread.php?t=49540