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
4 replies
Subscribers
7 subscribers
Views
1439 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have created a query rule that takes 3 inputs like getMembersByName( lastName
himanshug
over 10 years ago
I have created a query rule that takes 3 inputs like getMembersByName( lastName , firstName , dateOfBirth , [pagingInfo] ) but when i pass dateOfBirth as blank it gives an error.This query rule accepts firstName and lastName as blank "" but not date of birth as blank string "".Any input to fix this....
OriginalPostID-82778
OriginalPostID-82778
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Maybe the easiest way to workaround would be to create one called getMembersByNameAndDOB(lastName , firstName , dateOfBirth ) and one called getMembersByName( lastName , firstName) then check in the model whether dateOfBirth is null and if null use getMembersByName otherwise use getMembersByNameAndDOB
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Maybe the easiest way to workaround would be to create one called getMembersByNameAndDOB(lastName , firstName , dateOfBirth ) and one called getMembersByName( lastName , firstName) then check in the model whether dateOfBirth is null and if null use getMembersByName otherwise use getMembersByNameAndDOB
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data