I have a PeopleSoft driver in my 4.0.2 environment which I am wondering
if it is doing the right behavior. A full document (all attributes)
comes over on the Publisher side. It runs through the input
transformation and then the schema mapping as I would expect. For my
policy in the Event Transformation I have:


<if-attr mode="nocase" name="uww-role-staff" op="equal">NONE</if-attr>


which I would suspect to -not- query the PeopleSoft CI because I have a
value for that attribute in the input document. Except I see this in
the trace log:


[07/31/13 15:34:08.496]:PeopleSoft-HRS PT: Applying to modify #1.
[07/31/13 15:34:08.497]:PeopleSoft-HRS PT: Evaluating selection
criteria for rule 'User Check'.
[07/31/13 15:34:08.497]:PeopleSoft-HRS PT: (if-class-name not-equal
"User") = FALSE.
[07/31/13 15:34:08.497]:PeopleSoft-HRS PT: Rule rejected.
[07/31/13 15:34:08.497]:PeopleSoft-HRS PT: Evaluating selection
criteria for rule 'Staff role of none'.
[07/31/13 15:34:08.498]:PeopleSoft-HRS PT: Query from policy
[07/31/13 15:34:08.498]:PeopleSoft-HRS PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user" dest-dn="00231054" scope="entry">
<association>UW_HR_WWIDM_CI/00231054</association>
<read-attr attr-name="uww-role-staff"/>
</query>
</input>
</nds>
[07/31/13 15:34:08.500]:PeopleSoft-HRS PT: Fixing up association
references.
[07/31/13 15:34:08.500]:PeopleSoft-HRS PT: Applying schema mapping
policies to output.
[07/31/13 15:34:08.500]:PeopleSoft-HRS PT: Applying policy:
%+C%14Chrs-SchemaMapping%-C.
[07/31/13 15:34:08.501]:PeopleSoft-HRS PT: Mapping attr-name
'uww-role-staff' to 'UW_HR_ROLE_STAFF'.
[07/31/13 15:34:08.501]:PeopleSoft-HRS PT: Mapping class-name
'user' to 'UW_HR_WWIDM_CI'.
[07/31/13 15:34:08.502]:PeopleSoft-HRS PT: Applying output
transformation policies.
[07/31/13 15:34:08.502]:PeopleSoft-HRS PT: Applying XSLT policy:
%+C%14Chrs-outputXSLT%-C.
[07/31/13 15:34:08.503]:PeopleSoft-HRS PT: Policy returned:
[07/31/13 15:34:08.503]:PeopleSoft-HRS PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="UW_HR_WWIDM_CI" dest-dn="00231054" event-id="0"
scope="entry">
<association>UW_HR_WWIDM_CI/00231054</association>
<read-attr attr-name="UW_HR_ROLE_STAFF"/>
</query>
</input>
</nds>
[07/31/13 15:34:08.504]:PeopleSoft-HRS PT: Applying policy:
%+C%14Chrs-output-Deletes%-C.
[07/31/13 15:34:08.505]:PeopleSoft-HRS PT: Applying to query #1.
[07/31/13 15:34:08.505]:PeopleSoft-HRS PT: Policy returned:
[07/31/13 15:34:08.505]:PeopleSoft-HRS PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="UW_HR_WWIDM_CI" dest-dn="00231054" event-id="0"
scope="entry">
<association>UW_HR_WWIDM_CI/00231054</association>
<read-attr attr-name="UW_HR_ROLE_STAFF"/>
</query>
</input>
</nds>
[07/31/13 15:34:08.507]:PeopleSoft-HRS PT: Querying publisher
shim.
[07/31/13 15:34:08.507]:PeopleSoft-HRS PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="UW_HR_WWIDM_CI" dest-dn="00231054" event-id="0"
scope="entry">
<association>UW_HR_WWIDM_CI/00231054</association>
<read-attr attr-name="UW_HR_ROLE_STAFF"/>
</query>
</input>
</nds>
[07/31/13 15:34:08.508]:PeopleSoft-HRS PT: Remote Interface
Publisher: Querying remote Publisher...
[07/31/13 15:34:08.509]:PeopleSoft-HRS PT: Remote Interface Driver:
Sending...
[07/31/13 15:34:08.509]:PeopleSoft-HRS PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="UW_HR_WWIDM_CI" dest-dn="00231054" event-id="0"
scope="entry">
<association>UW_HR_WWIDM_CI/00231054</association>
<read-attr attr-name="UW_HR_ROLE_STAFF"/>
</query>
</input>
</nds>
[07/31/13 15:34:08.511]:PeopleSoft-HRS PT: Remote Interface Driver:
Document sent.
[07/31/13 15:34:08.862]:PeopleSoft-HRS :Remote Interface Driver:
Received.
[07/31/13 15:34:08.863]:PeopleSoft-HRS :
<nds dtdversion="3.0">
<output>
<instance class-name="UW_HR_WWIDM_CI" event-id="0"
src-dn="00231054">
<association>UW_HR_WWIDM_CI/00231054</association>
<attr attr-name="UW_HR_ROLE_STAFF">
<value>CURRENT</value>
</attr>
</instance>
<status level="success" type="driver-general">
<description>Query completed successfully.</description>
</status>
</output>
</nds>
[07/31/13 15:34:08.864]:PeopleSoft-HRS :Remote Interface Driver:
Received document for publisher channel



Because of the timestamps, I am assuming that it did actually query the
PeopleSoft CI. This is occuring in a few places with all the same
behavior. Am I missing something about 'if-attr' and it not taking the
value from the input document? To me this seems like it is operating
like 'if-src-attr'.


--
schwoerb
------------------------------------------------------------------------
schwoerb's Profile: https://forums.netiq.com/member.php?userid=2338
View this thread: https://forums.netiq.com/showthread.php?t=48303