vdl-action-array-push
Push a value to a VDL variable that has been defined as a dynamic array. The VDL variable will be updated, and the array will be returned
Required parent element
Example
<vdl-var name="MyArray" value="=[]"></vdl-var>
<vdl-action-group name="pushMyValue">
<!-- Because the value attribute isn't specified the VDL variable will be updated with the return value from the previous VDL action -->
<vdl-action-array-push var="MyArray"></vdl-action-array-push>
</vdl-action-group>
Attributes
var | The name of the VDL variable that contains the array. The VDL variable must be an array. | required | |
---|---|---|---|
scenario | Optional scenario index to set the variable on. It sets the variable as scenario scoped. and assigns it to the scenario specified by this index. | accepts expression | |
value | The value to be pushed to 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-2023 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.