Oracle 12C IF condition over database output variable.
Hi, I have an BPEL application that reads the data from database, stores results into a variable and applies a IF condition on it.
Current condition: boolean(bpws:getVariableData('InvokeInvcExcptSelect_OutputVariable','InvcMtchExcptCollection','/ns17:InvcMtchExcptCollection/ns17:InvcMtchExcpt/ns17:invcMtchWrkflwStgInd')) = true()
I am trying to add a new condition where if any of "invcMtchWrkflwStgInd" in resulting rows starts with example '11'.
New condition:
starts-with((bpws:getVariableData('InvokeInvcExcptSelect_OutputVariable','InvcMtchExcptCollection','/ns17:InvcMtchExcptCollection/ns17:InvcMtchExcpt/ns17:invcMtchWrkflwStgInd'),'11')= true()
I am sure it will work if the database select output contains only one row. Will the new condition works same if multiple rows are returned?