My name is Pravin, and I am currently working on a Library Management Automation project in UiPath Studio Web. The goal of the project is to iterate through an Excel workbook, identify students with overdue books, and send them an automated email notification.
The Challenge: I have been encountering a persistent validation error for the past two days within my If activity logic. I am attempting to compare a Due Date column from a For Each Row in Workbook loop against the current date (Today variable).
You’re getting the validation error due to a type mismatch.
In Studio Web, the Excel “Due date” value from For Each Row in Workbook is usually read as String, while Today is DateTime. You can’t compare them directly in the condition builder.
Use the expression editor and convert the Excel value: