Question
Capgemini UK Plc
IN
Last activity: 23 Mar 2016 2:48 EDT
How to do "Auto Save of Users work"
Hi,
When a user open a case from My Pending List and make changes to the form, the data should be changed automatically after some time (if user not saved it).
Is there a way in pega to achieve this?
Satya
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Updated: 21 Jan 2016 6:39 EST
Pegasystems Inc.
IN
Hi Satyanarayana,
I am not sure what you meant by " Data should be changed automatically " but is it like you want to auto save the data without the user clicking SAVE ?
If that is the case then two possible ways I can think of
1. For each field in the form, have a "OnChange-Refresh Section " associated so that whenever there is a value change by user, the section gets refreshed and the value get updated on DB
2. Impose a script function so that it executes periodically and each time fires an activity which performs a save .
Capgemini UK Plc
IN
Save user's work automatically.
Example:
A case W-5 is opened by a user to work from My Pending Cases. User made some changes on W-5 form and kept idle or left desk. The form should be saved automatically.
Virtusa Global IT Services Company
AU
Hi Satya,
You can write a control which saves the work item and commits it to DB after some specified time.
Regards,
Ramki
Citicorp Services India Private Limited
IN
Hi Satyanarayana,
If you are using High Availability feature then the work would be saved automatically
Please refer the following High Availability document
https://collaborate.pega.com/question/high-availability-administration-guide
<env name="session/ha/crash/RecordWorkInProgress" value="true" />
Please let me know whether this helps.
Thanks,
Gowrishankar.
GovCIO
US
AS Ramakrishna mentioned, we did create a HTML control and build the logic with the help of java script functions to handle auto save functionality in V6.x app. For this control, pass 3 Params- Html section name, Page, Time Duration(after how many seconds the auto save starts). Once the form data is saved call the activity asynchronouslu to handle the exceptional scenario during DB save. Let me know if the code is needed for this functionality.
Thanks
Ravi Kumar.
-
Anmol Gupta
Hi Ravi, Can you please share the script over here.
Capgemini UK Plc
IN
After saved by our script, what happens when user submit?
I think lock was lost after auto-save.