Question

1
Replies
2387
Views
Close popover
Anuj Newrekar (AnujN348)
Infosys

Infosys
AU
AnujN348 Member since 2016 75 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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.