Our application became terribly slow after adding a Grid column with Related actions.
We have a record type with Type "Other Web Service" which calls backend Integration and gets 20 records, it also has 9 Related Actions.
Before adding new related actions grid column, page used to load in 5seconds but now it is taking around 40seconds. When checked the performance of grid, grid column is making 20*9 = 180 integration calls which is causing the slowness.
Any idea on how to reduce the integration calls?
Discussion posts and replies are publicly visible
As you do not provide any implementation details, I need to guess. Could it be that the visibility of the related actions are based on calling an integration?
That's the most likely case. I recommend making the grid selectable and displaying actions above the grid when an action has been selected
Would it be possible to run 9 calls to the integration at the beginning in local variables, then define the related actions for all 20 using the 9 local variables you have, or some other way front-loading a smaller number of calls to happen once and get reused?
Figured a way to handle this, issue is resolved for now, my grid loads with only one integration call and in less than 15seconds.
Used rv!record[recordType!object_data] instead of integration call on related actions.
Also in 15seconds, RecordActionItem is taking almost 10seconds, so working with Appian developer to improvise it and they are releasing some improvements in release 21.2 version.