Compiler Error - If condition

Hi all,

I’m quite new in using UiPath and have a problem setting an if condition.
As you can see in the below image I’m trying to read a sheet in excel, and the, if a a column contains a certain word, it should do nothing, but if it does, to assign and write to a new datatable.

Can someone help me with how that condition should be build?
Got a lot of compiler errors and I’m stuck.

Many thanks.

Hi,

If you want to check whether there is one or more ‘Competition’, the following condition will work.

DT_Unifiltered_Ready.Select("[Link Type] = 'Competition'").Count()>0

Regards,

1 Like

Thanks @Yoichi. Much appreciated

1 Like

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