Initializing help system before first use

vdl-action-set-var

Set the value of a VDL variable. The new value will be returned.

Required parent element

Must be contained within one of the following elements:

Example

<vdl-var name="CurrentMyScalarValue" value=""></vdl-var>
<vdl-action-group name="captureCurrentMyScalar">
  <vdl-action command="=scenario.entities.MyScalar.value"></vdl-action>
  <!-- Because the value attribute isn't specified the VDL variable will be updated with the return value from the previous VDL action -->
  <vdl-action-set-var var="CurrentMyScalarValue"></vdl-action-set-var>
</vdl-action-group>

Attributes

var The name of the VDL variable. required
value The value to set for the VDL variable. Can either be a dynamic expression or a static value. If the value attribute is not set then the current value from the VDL action group will be used. accepts expression

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.