Hi

What is the proper token-attr behavior?

If I read the documentation:

"Expands to the attribute values of the current object in either the
current operation or the source data
store."

I interpret that like this:

If the attribute is available in the operation, use it, otherwise get it
from the source.



When I test it using IDM3.5.1 or the simulator in Designer 2.1.1 trying to
set a local variable using token-attr it first generates a query to get
the source attribute. If I ignore the query in the simulator it then uses
the attribute from the operation.


<do-set-local-variable name="var-TEST">
<arg-node-set>
<token-attr name="TEST"/>
</arg-node-set>
</do-set-local-variable>




A test document I used:

<?xml version="1.0" encoding="UTF-8"?><nds dtdversion="3.5"
ndsversion="8.x">
<source>



</source>
<input>
<modify class-name="test" dest-dn="xxx" dest-entry-id="40189"
event-id="xxx" src-dn="asdad">
<association>balabla</association>
<modify-attr attr-name="TEST">
<remove-all-values/>
<add-value>
<value>testvalue1</value>
<value>testvalue2</value>

</add-value>
</modify-attr>

</modify>
</input>
</nds>