How to use the Invoke method to add value in list

activities

#1

Hi,
I was trying to add a value through the Invoke method , to add in a list. but was not able to complete as getting
"‘List`1’ does not have a public instance method named ‘add’ matching the parameter types, generic type arguments, and generic type constraints supplied to InvokeMethod ‘Invoke method’"

this issue.
sharing the screeshot herewith.
It will be a great help if you can provide me the right direction.


#2

Hey @sain87

Try This :slight_smile: invoke_list_add_sample.xaml (6.9 KB)

Regards…!!
Aksh


#3

Hi Aksh,
Thanks for your reply.
What i found that , the method name i was using was “add” and it was throwing the above error, but by updating the name to “Add” it worked.not showing the above mentioned error.


#4

Good to Know :slight_smile:


#5

Even with method name “Add” doesn’t change… the error message is same to me