You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

contains - in groovy

Accepted answer
59
Views
9
Comments
edited Jun 30, 2020 5:30PM in Planning 9 comments

Summary

contains issue in groovy BR

Content

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

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!