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
5 replies
Subscribers
7 subscribers
Views
1606 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have a SAIL user input form that gathers user-entered data and keep getting th
judym598
Certified Senior Developer
over 8 years ago
I have a SAIL user input form that gathers user-entered data and keep getting the following error:
ERROR:An error occurred while evaluating expression: newProduct_cdt.notes:ac!newProduct_cdt.notes (Invalid index: Cannot index property 'notes' of type Text into null value of type IPS_Product?list) (Data Outputs)
I have 'newProduct_cdt and whereTo_txt' as a data inputs and in my form:
abc_getProductData(
newProduct_cdt: ac!newProduct_cdt,
whereTo_txt: ac!whereTo_txt)
Data outputs are:
ac!newProduct_cdt is stored as newProduct_cdt
ac!whereTo_txt is stored as whereTo_txt
The fields are all basic user input fields (see example below)
a!paragraphField(
label: "Notes",
labelPosition: "ABOVE",
value: ri!newProduct_cdt.notes,
saveInto: ri!newProduct_cdt.notes,
refreshAfter: "UNFOCUS",
required: false,
validations: {}
)
The I got errors for each part of the CDT. The...
OriginalPostID-166767
OriginalPostID-166767
Discussion posts and replies are publicly visible
Parents
0
rajivr
Certified Associate Developer
over 8 years ago
Even i came across this kind of error, but atlast found that there was no such error when i run the SAIL form in tempo. But you get that error only inside the SAIL interface. Run in tempo as an action and see, it will work fine.. Your code has no problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rajivr
Certified Associate Developer
over 8 years ago
Even i came across this kind of error, but atlast found that there was no such error when i run the SAIL form in tempo. But you get that error only inside the SAIL interface. Run in tempo as an action and see, it will work fine.. Your code has no problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data