How is the "scope" supposed to work with "do-set-local-variable" ?

If I sets a local variable with a policy scope
and then
sets the same local variable name but with a driver scope

Then my local variable contains my first variable.

Is it supposed to work like this in 4.0.2 ?

Regards Magnus .. .


Code:
--------------------

<rule>
<description>Test</description>
<conditions>
<and/>
</conditions>
<actions>
<do-set-local-variable name="xx" scope="policy">
<arg-string>
<token-text xml:space="preserve">xx</token-text>
</arg-string>
</do-set-local-variable>
<do-set-local-variable name="xx" scope="driver">
<arg-string>
<token-text xml:space="preserve">XX</token-text>
</arg-string>
</do-set-local-variable>
<do-trace-message>
<arg-string>
<token-local-variable name="xx"/>
</arg-string>
</do-trace-message>
</actions>
</rule>

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


--
magnus
------------------------------------------------------------------------
magnus's Profile: https://forums.netiq.com/member.php?userid=283
View this thread: https://forums.netiq.com/showthread.php?t=46183