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
3 replies
Subscribers
10 subscribers
Views
2795 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Record Summary Load Time with Queries in Displayed Related Action Buttons
nickh413445
Certified Senior Developer
over 8 years ago
If I have a record view with a related action button displayed that has a query rule in the 'Context' for process parameters (i.e. { case: rule!CS_getCaseById(rf!caseId) } )
Does Appian run the query rule before loading the button to display on the page, or does it only run the query rule when I click the button?
If I have a bunch of buttons displayed on a record view with poor performing queries in the 'Context' to pass as a process parameter, will that affect my record page load time?
OriginalPostID-264173
Discussion posts and replies are publicly visible
Parents
0
aloks0189
Certified Lead Developer
over 8 years ago
@nickh as per my understanding you are asking about, whether Appian embeds the related action button before execution of the process(which contains query rule) or on click, I believe on loading of record summary view, it just embeds the related action but do not executes it, untill user is not going to act/click on that, for example, let's save and publish a process model which call a expression rule which expects a mandatory field value as not null, pass null as that value for its Param from process model, so technically we will be getting an error while execution of this process model, now configure this process model as related action, now go to summary view, you won't be getting any error untill and unless you are not going to click on that related action
Hope I answered your question
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aloks0189
Certified Lead Developer
over 8 years ago
@nickh as per my understanding you are asking about, whether Appian embeds the related action button before execution of the process(which contains query rule) or on click, I believe on loading of record summary view, it just embeds the related action but do not executes it, untill user is not going to act/click on that, for example, let's save and publish a process model which call a expression rule which expects a mandatory field value as not null, pass null as that value for its Param from process model, so technically we will be getting an error while execution of this process model, now configure this process model as related action, now go to summary view, you won't be getting any error untill and unless you are not going to click on that related action
Hope I answered your question
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data