Robot not entering IF

Hi,

I want to update a column corresponding to row which is equal to current Transaction number.
the condition i am using is row(“Sr.no”).toString.Trim.Equals(in_TransactionNum), then part contains code to update the content of specific cell.

but due to some issue this if not getting executed, is this something due to invalid condition?

The condition looks good actually
May be it can be like this
row(“Sr.no”).toString.Trim.Equals(in_TransactionNum.ToString.Trim)

Cheers @Aishwarya_Thakur

2 Likes

that worked, Thank you :slight_smile:

1 Like

No worries
Cheers @Aishwarya_Thakur

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