MinTestEnabled - property of the ExtWriteAction object
Description:
Testing the minimum allowed value of the variable.
Syntax:
Boolean MinTestEnabled
Note:
Property access
for read and write.
The preset value of this property is defined in the "
Test minimal value" configurator of this object.
If the
MinTestEnabled is enabled then while the value is being written into the variable, it is tested for maximum allowed value
MinValue. If the value is higher then the replacement value
MaxSubstValue is written into the variable and/or the replacement quality
MinSubstQuality.
Example1:
Examples of obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard
bVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").MinTestEnabled;
// or
bVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").MinTestEnabled;
// or
bVal = pMe.Pm("/data").Item("Temperature").Extension("wact").MinTestEnabled;
bVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").MinTestEnabled
' or
bVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").MinTestEnabled
' or
bVal = pMe.Pm("/data").Item("Temperature").Extension("wact").MinTestEnabled
Example2:
The example of obtaining this property by
Macro expression from another data extension via
pVar variable.