Little help please in this assign error

I have assign of file name this: FilePath+" “+Templates+”.xls" I want to take the name from the string array and gives fault. Any idea why?

1 Like

Hey @Stathis_Panagotas

You can’t use the array directly, but with some index value

Templates(0)

Assuming templates is your array of string.

Kindly show some snaps to helps us understand better if the above doesn’t help.

Thanks
#nK

I’ m trying to upload picture but it gives me error

Hey @Stathis_Panagotas

Okay no worries.

Just copy paste the right hand side and left hand side values of assign here mentioning it please !

Thanks
#nK

this is tha assign

Filename = FilePath+" “+Templates+”.xls"

Hey @Stathis_Panagotas

Which variable is an array in this ?

Thanks
#nK

MY TMPLATES ARRAY IS:
{“AL1 SDE”,“AL2 SDE”,“AL3 SDE”,“AL4 SDE”,“AL5 SDE”,“AL6 SDE”,“AL7 SDE”,“AL8 SDE”,“AL9 SDE”,“AL10 SDE”}

Great @Stathis_Panagotas

You want to take which element from here any specific or all ?

Thanks
#nK

@Nithinkrishna ALL ELEMENTS. EACH TIME TO GIVE ME ANOTHER NAME OF THIS ARRAY

1 Like

Hey @Stathis_Panagotas

Use For-Each and pass the array into it

Add item into the assign activity.

Thanks
#nK

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