How to serialize datarow in foreach loop

Hi @Yoichi @Anil_G @Palaniyappan

Facing error while creating a form task.

@Dinesh_Guptil

As per error looks like you are havign a datarow variable and it cannot be serialized…so please remove that variable out of scope

cheers

@Anil_G

i am using currentrow to create the form task
i want to serialize the currentrow before creating the form task

@Dinesh_Guptil

May I know why are you using current row

are you usign for loop?

cheers

@Anil_G

I am creating a task to get the data for every row in datatable so i used foreach

@Dinesh_Guptil

Please use parallel for each

Cheers