Where autosave is enabled, the autosave process for the open work step or standalone form will be triggered at a pre-set interval, specified by the autosaveInterval system property. The timer begins once the form is started and is reset either by a user selecting the save option themselves, or by the system successfully autosaving when the interval has expired.
During autosave
When the autosave is triggered, UI input to the form is blocked with the existing '...Saving...' message. A notification is shown in the top toolbar, next to the other toolbar option buttons, for 30 seconds after every autosave reading ‘Your work has been automatically saved’.
The current model used for forms will not retain data in a textbox when the autosave is triggered. This must be altered for the work to be complete so that information is retained. Some forms contain options that lead to a popup window (e.g. finding a person, adding a next action).
Next Actions
Early next actions can be triggered by an automatic save. Workers are made aware of this by a new message which appears on the Next actions dialog.
Requests
Because requests will also be sent upon autosave the New Request and Edit request screens warn the user that a request will be sent if they press save or if an autosave occurs.
Timeout
At the point the existing session timeout feature logs the user out, an automatic save is to be performed. The autosave is not an ‘action’ in terms of resetting the timeout interval. This means if the session timeout interval is 30 minutes and the autosave interval is 20 minutes, an autosave 20 minutes after the application is left alone, should leave the timeout 10 minutes away.
Configuration
Set the autosave interval expressed in minutes with the autosaveInterval system property. It is not possible to set an autosave interval shorter than 15 minutes. Set the value to 0 to disable the feature.
Finance Autosave
On finance steps, the autosave trigger for care package screens loading is driven by the autosaveFinance system property. When set to true the step is automatically saved when the care package screens are loaded otherwise it is not. The default value is false.
