OSB10.3 - how to get the size/length of an array returned by a xpath expres
ferpJul 11 2011 — edited Feb 26 2020Hi all,
I need to set a condition on the size/length of an array returned by a xpath expression.
My xpath expression: $body/*//doc_key_list/order_id[@doc_key_type]
I need to check how many elements are returned by the above xpath expression and only if there ONLY 1 element and that element contains ... I've to process the payload otherwise I have to discard the payload ...
Is there any array len / size function that I could use in my OSB assign action ?
Thanks in advance
ferp