Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
5 subscribers
Views
749 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
106281 - no subject - Hi,\nI have a query rule that returns ro
phanibabuk
over 10 years ago
Hi,
I have a query rule that returns rows based on a search criteria.
If rows are returned based on the search criteria it works fine.
If I enter any invalid search criteria(data that doesn't exist in db) then it displays error evaluating expression.
Sample code:
local!employees:if(not(
isnull(
local!titleFilter
)
),
rule!abcd(local!titleFilter))
Later, I'm binding
local!empDataSubset: todatasubset(
local!employees,
local!pagingInfo
)
How can I fix this issue?
Please provide your inputs....
OriginalPostID-106281
Discussion posts and replies are publicly visible
0
Malathi
Certified Lead Developer
over 10 years ago
In your expression, "if" function is only having 2 parameters instead of 3.
I would suggest you to do null check for the query rule result. If it still causes error, please look into your Application Server Log.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel