Prevent refresh on local variable based on queryentity()

Certified Associate Developer

Hi All,

I have a local variable defined within load() which retrieves data from one of the table using a!queryentity() .

local!data: rule!getAllData(id)

Whenever there is an insert or update happens in the table , local!data pulls the new values on performing a refresh of the page from the browser .

My requirement is that i dont want to query the table again even though i refresh the page from the browser . Basically i want to retrieve the data from database only once when the task is generated . 

Please can you help me with this problem.

Thanks in advance .

  Discussion posts and replies are publicly visible