VB expression issue

Hello UiPath Community,

I’m currently working on a project where I’m reading data from a DataTable and performing a set of activities on each row based on a specific condition. The condition I’m checking is whether the value in the “CONFIRMATION STATUS” column of the current row is “Yes”.

Here’s the condition I’m using:

currentRow("CONFIRMATION STATUS") is "Yes"

However, I’m encountering an issue. Even though the actual value in the “CONFIRMATION STATUS” column is indeed “Yes”, the condition is evaluating to false. As a result, the row of data is being dropped, which is not the expected behavior.

I’m unsure why this is happening and would appreciate any insights into what I might be doing wrong. Could there be an issue with the way I’m comparing the values or could it be something else entirely?

Thank you in advance for your assistance.

use:

currentRow("CONFIRMATION STATUS").ToString().Trim().Equals("Yes")

the is operator compares the object identities

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.