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.