length check of an element in BPEL
747798Mar 12 2010 — edited Feb 27 2020Hi everyone,
I need to check length of an element in the output collection in BPEL. I have used string-length function like this:
string-length(bpws:getVariableData('Invoke_Id_Read_Id_OutputVariable','Read_IdOutputCollection','/ns12:Read_IdOutputCollection/ns12:Read_IdOutput/ns12:IDNUMBER))<1
It is throwing a exception :
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
Please guide me to resolve this.
Regards,
Aasta