Hold value of CDT in interface/Process model from hard browser refresh

Hi,

I am facing one challenge w.r.t CDT data. I am passing a CDT from process model to interface and mapping CDT data to interface and displaying to the user. User updates the data in interface and CDT gets updated in interface. When we do hard browser refresh the saved values of CDT are getting cleared.

Suggest a way apart from save draft option available in task form to save values of the CDT in interface or process model.

  Discussion posts and replies are publicly visible

Parents
  • If the values in the rule inputs are updated after user has accepted the task then the browser will always throw a popup that are you sure you want to to Reload the site? and the changes will not be saved, so it is a 2 click process to reload a task page and if the user still wants to refresh then there is simply no reason to save the values that he has entered.

    I don't know of any ways to accomplish this other than calling a a!writeToDataStoreEntity() in saveInto for each user input (which I'd not recommend exploring) and the one that you already know of.

Reply
  • If the values in the rule inputs are updated after user has accepted the task then the browser will always throw a popup that are you sure you want to to Reload the site? and the changes will not be saved, so it is a 2 click process to reload a task page and if the user still wants to refresh then there is simply no reason to save the values that he has entered.

    I don't know of any ways to accomplish this other than calling a a!writeToDataStoreEntity() in saveInto for each user input (which I'd not recommend exploring) and the one that you already know of.

Children
No Data