Here is the logic I used in the while loop, the value of i is 1 $i<=ora:countNodes(bpws:getVariableData('inputVariable','payload','/ns1:Input/ns1:Add'))
.
Here is the xsd I created for reference
<xsd:element name="Add" type="xsd:int" maxOccurs="unbounded"/>
When I used countNodes it's throwing an error. Can anyone please explain me where am I going wrong and what function should I use to find total number of elements in the array.Thanks in advance.
$i<=ora:countNodes(bpws:getVariableData('inputVariable','payload','/ns1:Input/ns1:Add'))
here instead of countNodes, using count works.Thanks.