I am trying to do a sync on the Publisher channel of the JDBC driver
using a heartbeat to initiate the sync.

For testing purposes, I query everyone with a certain last name and
then attempt the sync on those users. The inital query works, but then
I get an error when trying to do the sync. I'm thinking I need to
change the operation from status with type heartbeat to something else
so it recognizes the users I selected from my query, however, I am not
sure how to do that.

I am attaching a copy of the trace and including my sync rules:

1. Rule added to Publisher Input Transformation Policy
<rule>
<description>Set LV-JDBCSync variable to true</description>
<conditions>
<and>
<if-operation op="equal">status</if-operation>
<if-xml-attr name="type" op="equal">heartbeat</if-xml-attr>
</and>
</conditions>
<actions>
<do-set-local-variable name="LV-JDBCSync" scope="driver">
<arg-string>
<token-text xml:space="preserve">true</token-text>
</arg-string>
</do-set-local-variable>
</actions>
</rule>

2. Rule added to Event Transformation Policy

<rule>
<description>Sync JDBC Users</description>
<conditions>
<and>
<if-local-variable name="LV-JDBCSync"
op="equal">true</if-local-variable>
</and>
</conditions>
<actions>
<do-set-local-variable name="LV-JDBCUsers">
<arg-node-set>
<token-query datastore="src">
<arg-match-attr name="LAST_NAME">
<arg-value>
<token-text xml:space="preserve">Gravely</token-text>
</arg-value>
</arg-match-attr>
</token-query>
</arg-node-set>
</do-set-local-variable>
<do-for-each>
<arg-node-set>
<token-local-variable name="LV-JDBCUsers"/>
</arg-node-set>
<arg-actions>
<do-set-local-variable name="LV-SourceDN">
<arg-object>
<token-xpath expression="$current-node/@src-dn"/>
</arg-object>
</do-set-local-variable>
<do-append-xml-element expression=".." name="sync"/>
<do-clone-xpath dest-expression="../sync" src-expression="@* |
association"/>
<do-veto/>
</arg-actions>
</do-for-each>
</actions>
</rule>


+----------------------------------------------------------------------+
|Filename: help.txt |
|Download: http://forums.novell.com/attachment....achmentid=3125 |
+----------------------------------------------------------------------+

--
SyncUp
------------------------------------------------------------------------
SyncUp's Profile: http://forums.novell.com/member.php?userid=55472
View this thread: http://forums.novell.com/showthread.php?t=380412