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
3 replies
Subscribers
7 subscribers
Views
1305 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi Team, For PickerFieldCustom, we need to show the list of matching
divyav
over 8 years ago
Hi Team,
For PickerFieldCustom, we need to show the list of matching names based on value we type in that field as well as based on value of one more field on the same form.
So im fetching matching names by passing value entered in that field and other field values as inputs to a "View" (contains expected data) and storing as "Labels".
Same for identifiers, as I need same names for identifiers
Im fetching the labels by passing those 2 inputs to a query entity.
When I run that query entity, im getting correct results, but when I integrate those on the interface and test through interface im getting error "Invalid index () for null value of type List of Text String"
OriginalPostID-212371
OriginalPostID-212371
Discussion posts and replies are publicly visible
0
Sidhant Behura
over 8 years ago
Can you please attach the code snippet so that we will get more clarity on the situation.
And if you are giving "default" value in the index function then it should return the default value not an error.
So please provide some more information so that we can debug properly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@divyav To the best of my knowledge, casting at appropriate places might help us resolve the issue. Anyhow as suggested above, attaching the code snippet of interface and the queryEntity will help us quickly help us to get leads over the issue. And further, logs (at the time when the error is generated) will also help us in drawing conclusion quickly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Pavan
over 8 years ago
Check once the variables definition whether they are defined correctly as textarray or integerarray as per your requirement in supporting rules. If definitions are fine then try to cast the variables as mentioned in above comment at appropriate places. It would be great if you attach any screenshots related to it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel