How to check specific value is present in datatable or not?

Hi Team,
I want to check the specific value is present in datatable or not by using the if condition

My expression is like this

dt_TrackingDetails.Rows(2).Item(“Details”).ToString.Contains(“Delivered”)

error show that ‘)’ expected

Hi @Sanket_Shinde1

Please check the below condition

dt_TrackingDetails.Rows(2).item("Details").ToString().Contains("Delivered")


Regards

1 Like

still I am getting the same error

Hi @Sanket_Shinde1

Please remove the activity and re-assign the activity as you can see in the screenshot I’m not facing any error.

Regards

1 Like

yes you are right , I did but also show the error

Hi @Sanket_Shinde1

Could you share the screenshot of the activity.

Regards

1 Like

Hi , when I reaassgn new if condition then previous one if error is gone

new one deleted then again get error for previous if

image

Hi @Sanket_Shinde1

Yeah the activity having some error will be highlighted first and if you resolve the issue then if there is any other errors in any other activity then the error will shown by those activity.

Regards

1 Like

HI @Sanket_Shinde1

Bro please check by updating the packages to latest versions and keeping the run time rule as lowest as applicable.

Regards

1 Like

HI @Sanket_Shinde1

Please check the below thread and it might help to resolve the issue.

Regards

1 Like

Hi Thanks All of you!!!
error has resolved one of my log message missing the double quote

Thank you so much Guys!!!

1 Like

You’re welcome @Sanket_Shinde1

Happy Automation
Regards

1 Like

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