If string is there are not by using in IF

str
while i am trying to find the particular string is there are not its showing in IF condition like string to bool. can you help me with particular string condition for IF condition.

1 Like

Hey @meeraa

You want to check whether your string contains Pending

Is that correct ? And the statement looks ok

Thanks
#nK

1 Like

@meeraa

Can you share what the warning is?

Thanks

maybe a case insensitive check can help YourStringVar.ToUpper.Contains(“PENDING”)

1 Like

Hello,

Plz try to output the variable strInput and see whats the output that you are getting, as you are using Get Full Text Activity. Also Cross check the Pending word is in casesensitive or not. If that is the case convert to Upper or to lower as @ppr mentioned.

1 Like

@meeraa Make sure StrInput is of type String

1 Like

Hover your mouse over the blue ! icon and post the error here. My guess is you scoped strInput to the Sequence that Get Full Text is in, so the variable isn’t available in the If activity’s scope.

1 Like

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