Connector - REST Send Multi value Dynamic Attribute individually

 ${Map tempMap = new HashMap(); ArrayList arr = <arrayList>; if(arr.size()>0){arr.eachWithIndex{ val, idx -> {<add your logic here> tempMap.put('<key>', <value>)}; tempBuilder = new groovy.json.JsonBuilder(tempMap); return tempBuilder.toString();}else{''}}


Comments

Popular posts from this blog

Enhanced Query - To Update Account Status and Name

Connection Config - STATUS_THRESHOLD_CONFIG

SQL - Connection table