Hello i need some help with invoke method

i have created an automation where the robot use excel scop with read excel file and inside this activity is foreachrow. the problem is when i invoked a workflow inside the foreach row.
iin the invoked workfloe i have create an argument called “getcurrenrow” direction in and the type is “datarow” as shown and modifyed the typeinto activity as shown.


the problem is when i add the value inside the arrgument it gives me this error.
Argument ‘Value’: BC30311: Value of type ‘CurrentRowQuickHandle’ cannot be converted to ‘DataRow’. The selected value is incompatible with the property type.
as shown
.
how to fix this problem.

Hi there,

This is indicating that there is datatype mismatch within your code, review below and see if it helps:

Hello @mohamed.saty2012 ,

why are you passing data row in workflow ? instead of that read excel and get data table, pass that data table in argument into workflow. and inside workflow, use for each datatable to read data row.

try to change your method

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