How to count collection in Oracle BPEL
The count() function in Oracle Bpel can be used to retrieve the number of nodes in the collection. The Syntax is Count (node). The count function will return 0 if it is empty. For example, Below Is a sample web service response:
…. …. ….
So, the count function is like count($ACollection.result/ns5:Project)
Here below is an example I used to count the number of project in a collection is greater than 0.
This post first appeared on Oracle ADF, BPM, BI And Primavera P6 Tutorials, please read the originial post: here