How to refer to a variable in the Xpath definition to limit the listsize

0
I have a workflow were I retrieve a list. This list is limited by the following Xpath definition: [Ts >= 1475499524808][Ts <= 1475510637826] without any error.   The variable listSize contain the same text within single quotes: ‘[Ts >= 1475499524808][Ts <= 1475510637826]’. How can I refer to this variable in the Xpath definition of the retrieve list action in the microflow?
asked
1 answers
3

If you want to do such things, please have a look at the XPath Java library which is included in the CommunityCommons. That way, you can programmatically construct the Xpath and execute it. I would suggest to use the proxy classes instead of building a String.

answered