Hello,
We created a mapping table using context codes to set a destination for
our users in containers in MAD. While the mapping tables work for putting
the users in the containers it doesn't seem to work on moving the users.
Below I am pasting a trace level 3 from the vault showing the move from
context code 2116 (IS) to 2115 (HR) seems to be fine but nothing happens
in MAD and no trace of the event on the remote loader any assistance will
be appreciated, thank you.

[07/11/07 22:33:26.456]:ContextCodeMove ST:Start transaction.
[07/11/07 22:33:26.458]:ContextCodeMove ST:Processing events for
transaction.
[07/11/07 22:33:26.459]:ContextCodeMove ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" event-id="NYCSUSE2#20070712023326#1#1"
qualified-src-dn="O=twcnyOU=employeesOU=activeCN=testmove1"
src-dn="TWCIDVAULTtwcnyemployeesactivetestmove1" src-entry-id="36719"
timestamp="1184207606#2">
<association
state="associated">35269903eb6e564aae2d2532cc95b06 c</association>
<modify-attr attr-name="ContextCode">
<remove-value>
<value timestamp="1184207085#2" type="string">2116</value>
</remove-value>
<add-value>
<value timestamp="1184207606#2" type="string">2115</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[07/11/07 22:33:26.464]:ContextCodeMove ST:Applying event transformation
policies.
[07/11/07 22:33:26.464]:ContextCodeMove ST:Applying policy: %+C%14CVeto
updates for Disabled Users%-C.
[07/11/07 22:33:26.465]:ContextCodeMove ST: Applying to modify #1.
[07/11/07 22:33:26.466]:ContextCodeMove ST: Evaluating selection
criteria for rule 'Veto operations if the account is disabled'.
[07/11/07 22:33:26.466]:ContextCodeMove ST: (if-src-dn in-container
"twcnyemployeesdisabled") = FALSE.
[07/11/07 22:33:26.467]:ContextCodeMove ST: Rule rejected.
[07/11/07 22:33:26.468]:ContextCodeMove ST:Policy returned:
[07/11/07 22:33:26.468]:ContextCodeMove ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" event-id="NYCSUSE2#20070712023326#1#1"
qualified-src-dn="O=twcnyOU=employeesOU=activeCN=testmove1"
src-dn="TWCIDVAULTtwcnyemployeesactivetestmove1" src-entry-id="36719"
timestamp="1184207606#2">
<association
state="associated">35269903eb6e564aae2d2532cc95b06 c</association>
<modify-attr attr-name="ContextCode">
<remove-value>
<value timestamp="1184207085#2" type="string">2116</value>
</remove-value>
<add-value>
<value timestamp="1184207606#2" type="string">2115</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[07/11/07 22:33:26.473]:ContextCodeMove ST:Applying policy: %+C%14CDelete
on Disable%-C.
[07/11/07 22:33:26.474]:ContextCodeMove ST: Applying to modify #1.
[07/11/07 22:33:26.474]:ContextCodeMove ST: Evaluating selection
criteria for rule 'Delete users'.
[07/11/07 22:33:26.475]:ContextCodeMove ST: (if-operation equal
"modify") = TRUE.
[07/11/07 22:33:26.475]:ContextCodeMove ST: (if-op-attr 'Login
Disabled' changing-to "true") = FALSE.
[07/11/07 22:33:26.476]:ContextCodeMove ST: Rule rejected.
[07/11/07 22:33:26.485]:ContextCodeMove ST:Policy returned:
[07/11/07 22:33:26.486]:ContextCodeMove ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" event-id="NYCSUSE2#20070712023326#1#1"
qualified-src-dn="O=twcnyOU=employeesOU=activeCN=testmove1"
src-dn="TWCIDVAULTtwcnyemployeesactivetestmove1" src-entry-id="36719"
timestamp="1184207606#2">
<association
state="associated">35269903eb6e564aae2d2532cc95b06 c</association>
<modify-attr attr-name="ContextCode">
<remove-value>
<value timestamp="1184207085#2" type="string">2116</value>
</remove-value>
<add-value>
<value timestamp="1184207606#2" type="string">2115</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[07/11/07 22:33:26.491]:ContextCodeMove ST:Subscriber processing modify
for TWCIDVAULTtwcnyemployeesactivetestmove1.
[07/11/07 22:33:26.492]:ContextCodeMove ST:Applying command transformation
policies.
[07/11/07 22:33:26.492]:ContextCodeMove ST:Applying policy:
%+C%14CCommand%-C.
[07/11/07 22:33:26.493]:ContextCodeMove ST: Applying to modify #1.
[07/11/07 22:33:26.493]:ContextCodeMove ST: Evaluating selection
criteria for rule 'Move user if Context Code Changes'.
[07/11/07 22:33:26.494]:ContextCodeMove ST: (if-class-name equal
"User") = TRUE.
[07/11/07 22:33:26.494]:ContextCodeMove ST: (if-operation equal
"modify") = TRUE.
[07/11/07 22:33:26.509]:ContextCodeMove ST: (if-op-attr 'ContextCode'
changing) = TRUE.
[07/11/07 22:33:26.510]:ContextCodeMove ST: Rule selected.
[07/11/07 22:33:26.510]:ContextCodeMove ST: Applying rule 'Move user if
Context Code Changes'.
[07/11/07 22:33:26.511]:ContextCodeMove ST: Action:
do-set-local-variable("new-value",scope="policy",token-xpath("modify-attr/add-value")).
[07/11/07 22:33:26.512]:ContextCodeMove ST:
arg-string(token-xpath("modify-attr/add-value"))
[07/11/07 22:33:26.513]:ContextCodeMove ST:
token-xpath("modify-attr/add-value")
[07/11/07 22:33:26.514]:ContextCodeMove ST: Token Value: "2115".
[07/11/07 22:33:26.514]:ContextCodeMove ST: Arg Value: "2115".
[07/11/07 22:33:26.515]:ContextCodeMove ST: Action:
do-set-local-variable("old-value",scope="policy",token-xpath("modify-attr/remove-value")).
[07/11/07 22:33:26.515]:ContextCodeMove ST:
arg-string(token-xpath("modify-attr/remove-value"))
[07/11/07 22:33:26.516]:ContextCodeMove ST:
token-xpath("modify-attr/remove-value")
[07/11/07 22:33:26.517]:ContextCodeMove ST: Token Value: "2116".
[07/11/07 22:33:26.517]:ContextCodeMove ST: Arg Value: "2116".
[07/11/07 22:33:26.518]:ContextCodeMove ST: Action:
do-trace-message(level="1","Old Context :
"+token-local-variable("old-value")+" New context :
"+token-local-variable("new-value")).
[07/11/07 22:33:26.519]:ContextCodeMove ST: arg-string("Old Context
: "+token-local-variable("old-value")+" New context :
"+token-local-variable("new-value"))
[07/11/07 22:33:26.520]:ContextCodeMove ST: token-text("Old
Context : ")
[07/11/07 22:33:26.531]:ContextCodeMove ST:
token-local-variable("old-value")
[07/11/07 22:33:26.531]:ContextCodeMove ST: Token Value: "2116".
[07/11/07 22:33:26.531]:ContextCodeMove ST: token-text(" New
context : ")
[07/11/07 22:33:26.532]:ContextCodeMove ST:
token-local-variable("new-value")
[07/11/07 22:33:26.533]:ContextCodeMove ST: Token Value: "2115".
[07/11/07 22:33:26.533]:ContextCodeMove ST: Arg Value: "Old
Context : 2116 New context : 2115".
[07/11/07 22:33:26.533]:ContextCodeMove ST:Old Context : 2116 New context
: 2115
[07/11/07 22:33:26.534]:ContextCodeMove ST: Action:
do-set-op-dest-dn(arg-dn(token-map("..AD Context Mapping Table","Context
Code","Context",token-op-attr("ContextCode")))).
[07/11/07 22:33:26.535]:ContextCodeMove ST: arg-dn(token-map("..AD
Context Mapping Table","Context
Code","Context",token-op-attr("ContextCode")))
[07/11/07 22:33:26.536]:ContextCodeMove ST: token-map("..AD
Context Mapping Table","Context
Code","Context",token-op-attr("ContextCode"))
[07/11/07 22:33:26.537]:ContextCodeMove ST: token-map("..AD
Context Mapping Table","Context
Code","Context",token-op-attr("ContextCode"))
[07/11/07 22:33:26.538]:ContextCodeMove ST:
token-op-attr("ContextCode")
[07/11/07 22:33:26.538]:ContextCodeMove ST: Token Value:
"2115".
[07/11/07 22:33:26.539]:ContextCodeMove ST: Arg Value: "2115".
[07/11/07 22:33:26.539]:ContextCodeMove ST: Token Value:
"cn=user,ou=HR,ou=SM,dc=nycuser,dc=nycmanager,dc=c om".
[07/11/07 22:33:26.550]:ContextCodeMove ST: Arg Value:
"cn=user,ou=HR,ou=SM,dc=nycuser,dc=nycmanager,dc=c om".
[07/11/07 22:33:26.551]:ContextCodeMove ST: Evaluating selection
criteria for rule 'Use Full Name for naming user objects'.
[07/11/07 22:33:26.551]:ContextCodeMove ST: (if-class-name equal
"User") = TRUE.
[07/11/07 22:33:26.552]:ContextCodeMove ST: (if-global-variable
'FullNameMap' equal "true") = TRUE.
[07/11/07 22:33:26.553]:ContextCodeMove ST: Rule selected.
[07/11/07 22:33:26.553]:ContextCodeMove ST: Applying rule 'Use Full
Name for naming user objects'.
[07/11/07 22:33:26.554]:ContextCodeMove ST: Action:
do-set-op-dest-dn(arg-dn("CN="+token-escape-for-dest-dn(token-attr("Full
Name"))+","+token-dest-dn(length="-2"))).
[07/11/07 22:33:26.555]:ContextCodeMove ST:
arg-dn("CN="+token-escape-for-dest-dn(token-attr("Full
Name"))+","+token-dest-dn(length="-2"))
[07/11/07 22:33:26.556]:ContextCodeMove ST: token-text("CN=")
[07/11/07 22:33:26.556]:ContextCodeMove ST:
token-escape-for-dest-dn(token-attr("Full Name"))
[07/11/07 22:33:26.557]:ContextCodeMove ST:
token-escape-for-dest-dn(token-attr("Full Name"))
[07/11/07 22:33:26.558]:ContextCodeMove ST: token-attr("Full
Name")
[07/11/07 22:33:26.558]:ContextCodeMove ST: Query from
policy
[07/11/07 22:33:26.559]:ContextCodeMove ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User"
dest-dn="TWCIDVAULTtwcnyemployeesactivetestmove1" dest-entry-id="36719"
scope="entry">
<read-attr attr-name="Full Name"/>
</query>
</input>
</nds>
[07/11/07 22:33:26.578]:ContextCodeMove ST: Pumping XDS to
eDirectory.
[07/11/07 22:33:26.583]:ContextCodeMove ST: Performing
operation query for TWCIDVAULTtwcnyemployeesactivetestmove1.
[07/11/07 22:33:26.585]:ContextCodeMove ST: Query from
policy result
[07/11/07 22:33:26.587]:ContextCodeMove ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User"
qualified-src-dn="O=twcnyOU=employeesOU=activeCN=testmove1"
src-dn="TWCIDVAULTtwcnyemployeesactivetestmove1" src-entry-id="36719">
<association
state="associated">35269903eb6e564aae2d2532cc95b06 c</association>
<attr attr-name="Full Name">
<value timestamp="1184187651#58" type="string">test move1</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
[07/11/07 22:33:26.593]:ContextCodeMove ST: Token Value:
"test move1".
[07/11/07 22:33:26.594]:ContextCodeMove ST: Arg Value: "test
move1".
[07/11/07 22:33:26.594]:ContextCodeMove ST: Token Value: "test
move1".
[07/11/07 22:33:26.595]:ContextCodeMove ST: token-text(",")
[07/11/07 22:33:26.595]:ContextCodeMove ST:
token-dest-dn(length="-2")
[07/11/07 22:33:26.596]:ContextCodeMove ST: Token Value:
"ou=HR,ou=SM,dc=nycuser,dc=nycmanager,dc=com".
[07/11/07 22:33:26.596]:ContextCodeMove ST: Arg Value: "CN=test
move1,ou=HR,ou=SM,dc=nycuser,dc=nycmanager,dc=com" .
[07/11/07 22:33:26.597]:ContextCodeMove ST:Policy returned:
[07/11/07 22:33:26.598]:ContextCodeMove ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" dest-dn="CN=test
move1,ou=HR,ou=SM,dc=nycuser,dc=nycmanager,dc=com"
event-id="NYCSUSE2#20070712023326#1#1"
qualified-src-dn="O=twcnyOU=employeesOU=activeCN=testmove1"
src-dn="TWCIDVAULTtwcnyemployeesactivetestmove1" src-entry-id="36719"
timestamp="1184207606#2">
<association
state="associated">35269903eb6e564aae2d2532cc95b06 c</association>
<modify-attr attr-name="ContextCode">
<remove-value>
<value timestamp="1184207085#2" type="string">2116</value>
</remove-value>
<add-value>
<value timestamp="1184207606#2" type="string">2115</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>