What should I do to identify if an employee commits absences and his/her number of absences?
Fine
To check the count of absence or
To get the number of absence based on this column
int_count = datatable.Select(ā[yourcolumnname] = āAbsenceā ā).Count
Where int_count is a variable of type int32 defined in the variable panel
Cheers @ROBERT_RUSSELL_MONSA
Thank you very much, Sir. I will work on this.
For this column. To know if there are absences and the number of absences.
So I didnāt need to use For Each?
Thank you but it has an error.
you have to read entire sheet
But all I need is to read the entire column only.
Get us to that blue mark in that assign activity so that we can find what is the error
Cheers @ROBERT_RUSSELL_MONSA
first we can read the entire sheet then we have to select the perticular column
first data from excel and save (variable)
use assing activity
int_count=variable.select(absence type=āAbsenceā).count
Thatās the error. Iām sorry if I ask too many questions. Iām just new in using UIPath.
āuse excel application scope and pass the file path as input
āinside scope use READ RANGE activity and get the output with a variable of type datatable named dt
ānow use this assign activity and mention like this
int_rowcount = dt.Select(ā [āAttendance Type] = āAbsenceā ā).CopyToDatatable()
Cheers @ROBERT_RUSSELL_MONSA
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.