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
4 replies
Subscribers
7 subscribers
Views
1533 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Earlier people reported an issue with editable grid and selectionSaveInto defect
venkats533
over 9 years ago
Earlier people reported an issue with editable grid and selectionSaveInto defect. Yesterday I too have faced same issue. Here is how I have resolved it. Basically, selectionSaveInto is keep adding another array to an existing empty array. Hence, when I tried to use the saved value, the result is not what is expected. My followup script is expecting an array of numbers, but found array or array of numbers.
Anyway, here is the code snippet of how I have resolved my issue. I am posting this so, if any one else has same issue, they can get benefited.
selectionSaveInto: {
ri!selectedSecurityIndex,
/* due to a defect in Appian, selection is keep growing as array of array */
if(
fn!count(
ri!selectedSecurityIndex
) = 0,
{},
{
a!save(
ri!selectedSecurityIndex,
fn!reduce(
fn!append,
{},
ri!s...
OriginalPostID-159278
OriginalPostID-159278
Discussion posts and replies are publicly visible
Parents
0
venkats533
over 9 years ago
here is the latest link related to 7.9, though there another for other versions, the nature of defect may be different.
forum.appian.com/.../e-151610
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
venkats533
over 9 years ago
here is the latest link related to 7.9, though there another for other versions, the nature of defect may be different.
forum.appian.com/.../e-151610
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data