i have some element values in map, if that not exist then it will display an error in destination mapped node. i created one user defined function for this and append all the errors and put in to single destination node. its working fine for single node but when i am using looped element, after checking existence of that value through query, in same user defined function, that user defined function executes multiple times as input coming from repeating element and generates multiple documents. And i need all in single document. Please suggest me how to do it. its urgent. Thanks in advance.