How to get each value in my array

Hello all I am a new user to UiPath,

I am trying to get all of my arrays by positional values as I need them to be in string format like this: Eg

array(0)
array(1)
array(2)
etc etc

Here is how my currently workflow looks like. The first log message is able to print out all in the array one by one, however it is not in string format. I need it to be in string format in order to use Path Exist

image

Thanks

@SRoyi

Please open the for loop properties and change the type argument to string

Currently i guess it is object

Cheers

Yes you are right. Previously it was Object and I have changed it to String.

I have run the program. The path exist activity returned 7 False when I have 10 files. So does this mean it was able to detect that 3 files exist in the folder? Thanks

@SRoyi

Ideally yes…if you are sending 10 files and you got 7 false then yes only 3 are detected by path exists activity

Cheers

1 Like

Alright, thank you man :pray: :pray: :pray: you have helped me plenty today

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.