@Shah Can you Try outputting dt_WorkItems.Rows.Count in a message box before for each loop
Something like this
1 Like
@supermanPunch,
Now it says message box faulted.
“logType”: “Default”,
“timeStamp”: “23:44:16”,
“processVersion”: “1.0.0”,
“jobId”: “41b157c8-5d95-41d3-8726-5432fa75259e”,
“robotName”: “NewRobo”,
“machineId”: 201797,
“fileName”: “Process”,
“logF_BusinessProcessName”: “Framework”,
“activityInfo”: {
“Activity”: “UiPath.Core.Activities.MessageBox”,
“DisplayName”: “Message Box”,
“State”: “Faulted”,
“Variables”: {
“dynamicSelector”: “”,
“dt_WorkItems”: “”
},
“Arguments”: {
“Caption”: “”,
“Text”: “”
}