Collection was of a fixed size

Hi Team

In My code I have a uploadList variable of type List. I have initialized it like shown below

image

After this , I am trying to use “Add to Collection”, I am getting error - Collection was of fixed size.

Argument Declaration:

image

Could you please help me to resolve this issue?

@Deeipauk,

Please have a look at below Screenshots.

  1. Variable Pane : Where Listof Strig is Declared.

  2. For Each string Item - I am adding them to List.


Mukesh

Hi ,
i am trying to add an item (abc) in collection variable(ArrCollection), but it is returning error as mentioned in this thread.
please refer below screenshot and explain the issue

@vigneshnkv change ur variable type array to list of string. You cannot assign values into array like this

1 Like