contains - in groovy
Summary
contains issue in groovy BRContent
String sRTPMgt = rtps.Mgt.toString()
List<String> Mgtlist = ['Africa','Canada','UK','China']
if (Mgtlist.contains(sRTPMgt)){
run datamap
}
even though i'm selecting mgt member in the dataform from the one in the Mgtlist, contains not taking it, not going into if and executing datamap.
am i missing something? any help greatly appreciated
0