I am adding a string variable to an array ,but this error is coming.How can i solve this error?Pls help

Hi @ASWATHY_K

Do you have value in the collection variable. It seem like the value is empty in the variable.

Can you check out the value?

Regards
Gokul

HI @ASWATHY_K

Seems like the item in the items field is null

Can you keep a message box before the append item to list activity and check whether the item you are trying to append has any values are its returning empty message box

Regards
Sudharsan

Hi @ASWATHY_K ,

You would require to initialise the array_items variable first in the below way using an Assign Activity :

array_items = new String(){}

Array is empty initially after one looping a string is adding to the array

Hi @ASWATHY_K

You can also use If activity or Try Catch activity to avoid this error.

Next thing should be i to Assign the Array variable before the Append Item to collection activity

Arr_Item = New String(){}

Regards
Gokul

Thankz,This is helpfull

1 Like

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