Query Rules vs a!queryEntity

Certified Senior Developer

We are a cloud customer and have recently been experiencing data connection time out errors. When this occurs, we have to manually restart the node where the disruption occurred. As a result it often results in duplicate tasks. So far that hasn't been a problem. Once the user completes one of the tasks, the other disappears. Our concern is if this happens during a critical point in our process. To address this issue, the cloud support team recommended increasing the timeout setting from 10 sec to 30 sec. I have been doing some research and noticed that in a couple of these cases, (this has happened 4 times now in the current month), the disruption occurred when evaluating a query rule (the old type that has since been deprecated). Our applications contain nearly 200 of the old query rules. From one of the discussions I found on this topic, (https://community.appian.com/discussions/f/rules/10265/query-rule-vs-a-queryentity) it appears as though the old query rule may be bringing back all the data in the table to Appian before filtering for the smaller result set. If this is the case, it's possible that this may be causing some of our time out issues. We have been making a conscious effort to update these old query rules whenever we have to update a process that uses them, but with nearly 200 of the currently in use, it's not practical to update all at this time. We are looking at them now, however, to see which ones may be the most critical to update - and start on those.

Just wanted to share this with the community, and see if anyone else has had a similar experience.

  Discussion posts and replies are publicly visible