on 08-02-2011 4:48 PM
Hi guys, I need to get the value of a field to a specific position in a list. No way to make something like this in a container operation of a ccBPM
/p1:SelectPedidoJdbcMT_response/row[[$counter]]/ID where ID is the field I want to return and $counter is the variable that is the position I want to get the list row.
Thanks.
For example, a list variable named listvar holds a collection of customer names. An integer variable named intvar holds the index of the data item in listvar that you want to retrieve.
Example:
The following XPath expression returns the data item from listvar:
/process_data/listvar[number(/process_data/@intvar)]
Refer this link:
http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000263.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, thank you very much for the support. That example would serve for a variable or element that is within the same structure. In my case I have the following:
I have the following variables defined at the level of BPM:
Variable 1: Source type SelectPedidoBpmAbstractSI which has a message with the following structure:
SelectPedidoJdbcMT_response -> 1.1
row -> 0.unbounded
Id -> 1.1 (part of row)
Material -> 1.1 (part of row)
Variable 2: Count of type integer
I have a container operation in which I get the value of Id field for the position but who has the Count variable, as I can do this with XPath in the container operation?
No way to do something like this:
/p1: SelectPedidoJdbcMT_response/row[[$Count]]/Id ??
Thank you very much.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.