The earlier issue I have resolved by writing a for loop however I would like to keep it with less code and that is the reason to use invoke code.
I am getting this error for another invoke code, which I had incorporated in earlier workflows.
inoutdt_DailyAttendance.AsEnumerable().Where(function (row) row.Field(of string)(“Status”).ToString.Equals(“SP”)).ToList().ForEach(sub(row) row.Field(of string)(“Comments”)=“Single Punch (only in or out time captured)”)
I would like to know what is root cause for this kind of error where it was working earlier and now it doesn’t work. Is this because of the higher version of the system activities
currently we do see reports by forum members mentioning this issue. You can search on forum for this issue. Please list down for this also UiPath Version / edition and the versions of UiPath.System.Activities, UiPath.Automation.Activities and when used later versions the project type (e.g. Legacy…)
So we can try it for replicating the issue at our end.
In case of it cannot be sorted out, we can get in touch with UiPath Tech Team.
But coming back to your case:
in the referenced blog from above you will have some options / alternates for doing it. We would recommend also to check this approach: