When rule returns false even when it should return true
i have a pagelist with each page in it containing a property Object_Name having some value. I only want the pages in which Object_Name starts with "xx
_cpe". I am using the function @StartsWith inside a when rule as below:
@StartsWith(".Object_Name","xx_cpe")
But the when rule returns false every time. even when it is supposed to return true.
Also tried using @Contains(".Object_Name","xx_cpe"). Even this led to the same output.
However when i hardcode it in the when rule like:
.Object_Name = "xx_cpe_work"
The when rule works fine and returns true when it is supposed to.
Any suggestions are welcomed
Thanks