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
1773 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a rule input called selectedDoc. I am saving the value that is selected f
joshuaq
over 11 years ago
I have a rule input called selectedDoc. I am saving the value that is selected from the grid to this rule input. But nothing is getting saved into the rule input. I know I am asking the question for the 4th time but this time I am attaching the SAIL code as an attachment. Sorry for asking it so many times without posting the code.
...
sail.txt
OriginalPostID-102685
OriginalPostID-102685
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 11 years ago
Hi, I have run your code and I can't see any problems. I added a text field to display the value of ri!selectedDoc and it gets populated when I make a grid row selection. Can you do the same and confirm what you see.
I assume you are then passing this back out to an ac! and pv!?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joshuaq
over 11 years ago
hey,
I am having problem with passing in values for batchSize, totalCount and identifiers fields...Can you tell me what legitimate values can I pass for them. Currently I have batchSize and totalCount set to length(ri!ID) and identifier set to ri!ID....which breaks when I do some changes into the layout of the rule inputs....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 11 years ago
why batchSize is equal to totalCount ? if you want all rows, simply use -1. setting length() to totalCount is fine. also you have already assigned ri!ID to local data called ID so the script should not refer to ri!ID again. check the field name "Document ID" at one place and at another place it is "DocumentID". yes, SAIL needs a lot of patience to get things right, a small character here and there makes big difference
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joshuaq
over 11 years ago
What does setting batchSize to -1 do to the grid. I actually don't know the difference between batchSize and totalCount. Both of them seem to be the same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 11 years ago
batchSize is the number of records per page. if the value is -1 all records are shown in one page. if the batchSize is 2 and totalCount is 5, then you can have the results in 3 pages total.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel