Which activity should I choose?

I have a list variable ListA and I want to perform a sentence like ListA.add(“123”). However, I can’t find a activity to contain this code. Which activity should I choose? Thank you all.

Hello,

You can use Activity Add To Collection, note it might come from Microsoft.Activities.Extensions Package, that you can install, not exactly sure about.

You would then need to set the type argument and input your collection and the value you want to add.

image

Invoke Method and Invoke Code are also possible alternatives.

Cheers

Oh, it works. Thank u very much