A value is declared regular string in db and im using it in cdt

Certified Senior Developer

so lets say clothesType is declared as string in db. in a rule, i am iterating over this variable using for each loop. the problem is i can't declare the clothesType as an array as it would affect existing functionality. If i could, it would solve the problem. So, are there any built in appian functions that i can use to run a for each loop over a value that is accepting one value only?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Mike Schmitt

    no, actually, the value is coming from am excel file and stored in staging table, so i'm getting the values in the process model from the same pv! that is writing the data to the table. So the issue is that since the value is already declared as not an array i have to somehow check one by one, so now i'm thinking i will create a loop in the process model in the index of the picture here and store the values in an array variable. 

Children
No Data