Background: In my application there is a simple paging feature that utilizes a server side application to retrieve data for each page of a grid that needs looked at. Upon receiving a response from the server, the onSuccess callback of the startProcess function that is called will use an expression rule which matches the data returned with data found in a view on the appian cloud db. This matching is done in order to alter one column of the data to fill it in with task Ids when one is found in the db for the given data row.
Problem: Creating a new task works great and a task Id will show properly in the grid. Paging works great and existing task Ids will show properly. The issue is found when a user creates a task, navigates to a previous page, and then returns to the page where the task Id was. In this case the task Id will not be found.
Walkthrough:
Scenario 1Navigate to page 3, making previous page page 2create task, task Id showsnavigate to page 2navigate to page 3task Id is gone.
Scenario 2Navigate to page 3, then page 2, making previous page page 3create task, task Id showsnavigate to page 3navigate to page 2task Id is gone.My suspicion is that the use of queryEntity with the same parameters is caching the original output of the query that is used to match server side data with task data in appian. I'm thinking this because of the documentation found here but I'm not sure. a!queryEntity() Function - Appian 21.2
Any insight or advice here would be great. Thanks in advance.
Discussion posts and replies are publicly visible
This explanation of data caching was understandable and beneficial. I appreciated how the blog simplified a complex subject using analogies from everyday life. Using CIPD Assignment Writing Help can occasionally make it simpler to keep on top of studies while comprehending subjects like system performance and optimization. Learning concepts like these can be difficult when combined with academic work.