contains function not giving desired results

Certified Senior Developer

We are trying to compare to one intake value with data that is coming from another system. Both these values are present in pv and we are using contains function inside a script task to check the same. But even though the value is present in array, its giving false. 

Array value

Single value


Both are of same data types but still giving false. contains(arrayValue, singleValue) is the function being used inside a script task. Let us know if we are doing something wrong here.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to balti


    since each value is getting appended to the list, I don't think its of single text since the value 08 will come in the 1st iteration and 13 will coming only in the 2nd iteration and so on.  
    The target value is of multiple type. Hope this gives more idea

    The same we are doing for some other variables in the same way. Its working fine for other variables.

Children