From the course: UiPath Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Assign customer information

Assign customer information - UiPath Tutorial

From the course: UiPath Essential Training

Start my 1-month free trial

Assign customer information

- [Richard] Now that we have the information extracted from the work item details, we need to create an array and look through that array in order to get each of the individual pieces of information. So let's take an assign activity, let's create a new array, array of details, and let's just go and check the variable type. This actually needs to be an array of string. We need to enter the following syntax in order to get the extracted text into the array. Let's use the split function, and when you select open bracket, you'll see that the split function's expecting certain parameters. The first parameter is our string, which is STR extracted text, and we're going to split this information on environment.newline. So wherever VB.NET sees a new line, or a line break in our text, it's going to put it into a different item in the array. Therefore, Client ID will be Item 0, Client Name will be Item 1, Client Country will be Item…

Contents