Variable problem

uipathh problem
Please help with this problem.

1 Like

what activity are you using.

We can’t assign one variable type to another type .

Read Pdf Text activity and then writing it in an excel file.

are you using write range for excel?

yes, write range for excel

Write range accpet data table.

From PDF you are getting String,so you can’t use write range. You can use write cell to put the pdf data in a cell

1 Like

change the type of your String variable, to a DataTable type.

1 Like

If we want to convert the string obtained from pdf as a datatable pass that to GENERATE DATATABLE ACTIVITY and get the output with a variable of type datatable

Only datatable variable can be passed to WRITE RANGE activity


1 Like

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