vdl-action-remove-entity
Remove one or more elements from an Array or Set entity corresponding to the indices specified. Can also be used to clear the value from a parameter or Scalar entity. The value passed into this action will return unchanged.
Required parent element
Example
<vdl-action-group name="removeElementFromArray">
<vdl-action-remove-entity entity="MyArray" indices="=[['New York', 'January'], ['New York', 'February']]"></vdl-action-remove-entity>
</vdl-action-group>
Attributes
entity | Name of the Array to remove the elements from or name of a Scalar to clear the value of. You can only specify one of "set", "entity" or "parameter". | ||
---|---|---|---|
indices | The indices to use to locate the Array or Set element(s) to remove. Can be a dynamic expression returning a JavaScript array or array of arrays. Or it can be a comma separated list of indices. | accepts expression | |
parameter | Name of the model Parameter to clear the value of. You can only specify one of "set", "entity" or "parameter". | ||
scenario | The scenario to modify the Entity, Set or Parameter from, defaults to the first scenario. You can specify either a scenario id or the current position of the scenario on the shelf. | accepts expression | |
set | Name of the Set entity to remove the elements from. You can only specify one of "set", "entity" or "parameter". |
© 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.