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
2 replies
Subscribers
7 subscribers
Views
1089 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I would like to copy the value from a selectable SAIL gridField into a rule inpu
joshuaq
over 11 years ago
I would like to copy the value from a selectable SAIL gridField into a rule input ri!selectedDoc. Currently the local variable called local!selectedDocumentId holds the selected value of the grid. I tried doing the following: 1) local!selectedDocumentId: ri!selectedDoc
and
2)saveInto: ri!selectedDoc
Both of these methods didn't yield the correct results. Anybody has any ideas?...
OriginalPostID-102453
OriginalPostID-102453
Discussion posts and replies are publicly visible
Parents
0
Tim
Certified Lead Developer
over 11 years ago
As stated in the answer to your previous post the ri! namespace cannot be used as a target for saving a value. You need to have local!selectedDocumentId in the load() section of your expression and then in the with() section you can pass it into a rule:
load(local!selectedDocumentId,
with(
a!gridField(...),
local!exprResult: rule!myRule(local!selectedDocumentId)
))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tim
Certified Lead Developer
over 11 years ago
As stated in the answer to your previous post the ri! namespace cannot be used as a target for saving a value. You need to have local!selectedDocumentId in the load() section of your expression and then in the with() section you can pass it into a rule:
load(local!selectedDocumentId,
with(
a!gridField(...),
local!exprResult: rule!myRule(local!selectedDocumentId)
))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data