This problem is kind of strange for me, I searched a lot without success in finding a solution . I have a webservice method that one of its arguments a list of strings , now if this list has one value only the process works fine , but if it contains two or more values it give me the following error
XPath query string returns multiple nodes. The assign activity part and query bpmn:getDataObject('InspectBO')/ns:fileName are returning multiple nodes. The assign activity part and query named in the error message returned multiple nodes. It should return single node.
so this part bpmn:getDataInput('initiateInspectionProcess')/documentsNamesList refuses to accept more than one value at a time , even if the data association shows it as a list of strings : String : documentsNamesList
the initiateInspectionProcess is coming from the signature of the webmethod ,I am using Jdeveloper 126.96.36.199.0
Hi Dan , after applying the technique in your video , it stopped giving error when the source list has more than one value , but the destination only takes the first value of the source list despite the for-each. Non the less you gave me a hint on where to focus my search.
For-each should be mapped to the repeating node, verify that. and when you get multiple string values in the variable, then probably you need to use Create-Delimited-String function to use it based on your requirement.