cancel
Showing results for 
Search instead for 
Did you mean: 

Data type ambiguity

AdityaReja
New Contributor III

Im having this pipeline , which retrieves data from employee groups data from LDAP and determines whether a employee belongs to a particular group or not … now the data coming from LDAP is in this format

Now i need to search a particular Employee dn in both member array and qclistadmin array, but in some data elements this qclistadmin contains only one record, making snaplogic to return its data type as string and not array like this

Hence my mapper throws error in transformations… my conditional query is this :

but this doesn’t work when snaplogic gives me string

1 REPLY 1

del
Contributor III

@adityaReja, I think the sl.ensureArray() function will help your case.