There is an error when I write the expression editor: If String.IsNullOrEmpty(Row("Shipment ID1").ToString)

Hi,
Is there anyone know how to fix this error? I try to use If activity to skip the row if empty or null in “Shipment ID1” column of google spreadsheet. but there is an error as attached screenshot. Thanks.

If String.IsNullOrEmpty(Row(“Shipment ID1”).ToString)

Hi @Evelyn_Lu

You can write it as
String.IsNullOrEmpty(Row(“Shipment ID”).toString or String.IsNullorWhiteSpace(Row(“Shipment ID”).toString

Regards.

@Evelyn_Lu

Welcome to the community please remove if fromthe statement

Cheers

Hi @mkankatala and @Anil_G
Thank you so much!

1 Like

@Evelyn_Lu

Happy Automation
:slight_smile:

Cheers

Welcome @Evelyn_Lu for considering the solution.

Regards.

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