Lookup to Array

Hello!

 

I have this array that gives me the prefixes of phone numbers. I need to use it in a Process in Script Task.

I don't really like that I have to add all the values in the array manually. Is there an option to get the values from a lookup and to add them in an array?

 

I would like to just create a lookup for all the prefixes instead of adding them one by one in the array.

 

Thank you!

Like 0

Like

1 comments

Hi,

 

In the business process you can read collection of records using examples provided here, add the result to some parameter and then process this parameter. Otherwise you can read values using standard "Read data" element in a cycle (which is not a good approach) and each read value can be also added to the array. 

Show all comments