Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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!