# Merge Method In INVOKE METHOD ACTIVITY

**URL:** <https://forum.uipath.com/t/merge-method-in-invoke-method-activity/486383>\
**Category:** Activities\
**Tags:** question, system, activities\
**Created:** [November 2, 2022, 6:12am UTC](https://forum.uipath.com/t/merge-method-in-invoke-method-activity/486383 "2022-11-02T06:12:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalaisri\_K](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kalaisri_k/32/264393_2.png) [@Kalaisri\_K](https://forum.uipath.com/u/Kalaisri_K)\
**Post date:** [November 2, 2022, 6:12am UTC](https://forum.uipath.com/t/merge-method-in-invoke-method-activity/486383/1 "2022-11-02T06:12:01Z")

</div>

I am trying to do Merge the datatable using invoke method.But getting below error. Kindly support on this.

ERROR:

Datatype doesnot have a public instance method named 'Merge’matching the parameter types, generictype arguments, and generictype contraints supplied to Invoke method ‘Invoke Method’.

---

<div class="post-metadata">

**Author:** ![sangeethaneelavannan1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sangeethaneelavannan1/32/176935_2.png) [@sangeethaneelavannan1](https://forum.uipath.com/u/sangeethaneelavannan1)\
**Post date:** [November 2, 2022, 6:34am UTC](https://forum.uipath.com/t/merge-method-in-invoke-method-activity/486383/2 "2022-11-02T06:34:22Z")

</div>

> [@Kalaisri\_K](#):
>
> Datatype doesnot have a public instance method named 'Merge’matching the parameter types, generictype arguments, and generictype contraints supplied to Invoke method ‘Invoke Method’.

Hi @Kalaisri_K

> [@DataTable.Merge returns "Expression does not produce a value" Error](https://forum.uipath.com/t/datatable-merge-returns-expression-does-not-produce-a-value-error/99519):
>
> Hello Browsing through the forums I encountered this error a fair few times, but none of the solutions seem to work in case of merging Data.Tables. When I try to use the ‘Invoke Method’ activity I get the following error: “‘DataTable’ does not have a public instance method named ‘Merge’ matching the parameter types, generic type arguments, and generic type constraints supplied to InvokeMethod ‘Invoke Method’.” This is what it looks like in UiPath [image] Thanks for your time.

You should add the respective parameter in the properties panel of the invoke method activity. In Your case data table should be added to parameter property.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/6/b/a/6ba56f1edcfcfe828c23df28e127a30369a5dff6.png)

Please refer to the above link

Thanks,

---

<div class="post-metadata">

**Author:** ![Laurentiu\_Mihai](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/laurentiu_mihai/32/264554_2.png) [@Laurentiu\_Mihai](https://forum.uipath.com/u/Laurentiu_Mihai)\
**Post date:** [November 2, 2022, 6:56am UTC](https://forum.uipath.com/t/merge-method-in-invoke-method-activity/486383/3 "2022-11-02T06:56:39Z")

</div>

Hi,

Ideally you should use the ‘Merge Data Tables’ activity which is designed to help you exactly with this!

Best of luck
