Question

1
Replies
2244
Views
AnujN348 Member since 2016 73 posts
Infosys
Posted: July 5, 2017
Last activity: July 5, 2017
Closed
Solved

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

Low-Code App Development Case Management
Moderation Team has archived post
Share this page LinkedIn