Generate yearly report error

@Shah Can you Try outputting dt_WorkItems.Rows.Count in a message box before for each loop :sweat_smile:

Hi @supermanPunch,

Do I need to use assign activity before for each loop ?

@Shah No Just I wanted to see how many rows are present in dt_WorkItems :sweat_smile:

@supermanPunch,

What do I need to do?

Something like this Capture

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”: “”
}

@Shah There is something unusual here :sweat_smile:

@Shah Can your Try sending your workflow?

@Shah
I attached Process Workflow go through it
Process.xaml (13.3 KB)

2 Likes

Hi @sandeep13,

I’m using Chrome. Shall I make changes as per above workflow?

Hi @sandeep13,

When I run it, it is throwing below error:

Could you please help to resolve it?