The problem is that the control being on all lines, it returns me for the first line, the notification of KO, and on the second of OK.
I need a check on the table, “absolute”.
That is, only if all lines are the same, OK
if not, KO.
In this case, KO.
Can help me with this?
Use this expression in a IF condition which will give you a notification on comparing two datatables
Dt1.Rows.Count.Equals(Dt2.Rows.Count) AND
Dt1.AsEnumerable().Except(Dt2.AsEnumerable(),System.Data.DataRowComparer.Default).CopyToDataTable().Rows.Count.Equals(Dt1.Rows.Count)
If the above condition is true it will go to then part where use a assign activity with value as “OK” or goes to else part with value as “KO”
Thakns at all…
and… Not Work well… Unfortunately.
I also need to consider the contents of the cells.
I did some tests but without success.
I found an alternative route by doing so, perhaps.
I don’t have much experience, can you tell me whether to see problems that I don’t see?
It seems to work, but being a bot in production I would not take the risk.