I am trying to get the value in a document list.
The size of the document list is dynamic. So I am trying to get the size of the document list and then I am keeping the value as documentList[%size%]/var into variable valueVar.
Consider that the size of the list is 5, so after calculation the variable valueVar will have the value as documentList/var. Now how can I get the value in this value(documentList/var).
Now what I need is that exact value present in that particular position. i.e., if the document list contains the following as value,
documentList/var = 10
documentList/var = 20
documentList/var = 30
documentList/var = 40
documentList/var = 50
how can I get 50 in some other variable.