How does ARRLENGTH function works in vflow2.0?
6 Likes
The “ARRAYLENGTH” function is used to find the number of elements in an array.
There is an element that should be visible when the given condition is true:
ARRLENGTH(getVal(“tempObject.component_info_response.data[0].config.elements”)) >= 1
-
The getVal(“tempObject.Data”) function retrieves the value from the specified path.
-
The ARRLENGTH(getVal(“tempObject.Data”)) function calculates the number of elements in the array.
-
If there is any value present at that path, the “ARRLENGTH” function will return a number (greater than or equal to 1), which means the condition becomes true, and the element will be visible.
6 Likes