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
6 replies
Subscribers
7 subscribers
Views
2883 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I have a rule input called ri!state which gets its value from a query r
aswinb
over 11 years ago
Hi,
I have a rule input called ri!state which gets its value from a query rule. Then I am passing this rule input to the value and saveInto fields of a textbox like this:
a!textField(
label:"State",
value:ri!state,
saveInto:ri!state)
I am getting an error called "Cannot save type List of Text into Text". The only way I found to solve this problem is by passing null to saveInto field. Is there a way around to solve this problem and why I am getting this error?
thanks...
OriginalPostID-104466
OriginalPostID-104466
Discussion posts and replies are publicly visible
Parents
0
aswinb
over 11 years ago
I solved the problem. You see we cannot use a query rule directly to store value into a local variable or a rule input. You have to first use the query rule inside an expression rule and then use that expression rule to populate your rule input or local variable. This solved my problem. Thanks for your concern though.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aswinb
over 11 years ago
I solved the problem. You see we cannot use a query rule directly to store value into a local variable or a rule input. You have to first use the query rule inside an expression rule and then use that expression rule to populate your rule input or local variable. This solved my problem. Thanks for your concern though.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data