Forum Discussion
Your original post indicated that you were using, in your code, contentText. I simply continued with that. Please maintain consistency. It helps me help you better.
All that means is that Obj.Message doesn't equal the desired value. So, you just need to replace that property in your If statement with the property that contains the desired text.
I already tried Text .It doesnot work.I am not sure what other properies work here to work.Trying for other properties..
- tristaanogre7 years agoEsteemed Contributor
I don't know your application or your object. This is where you do the legwork to figure out what property you want to do the comparison in.
Keep in mind that the comparison is a strict string comparison. So, if there is anything different with things like punctuation, case, spelling, etc., that will cause a failure to match as well.