Saved objects do not retain changes after logging into ARA for a short time

Document ID : KB000084900
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 6;7;8

Error Message :
N/A

No error message is displayed when this issue occurs. The user will notice fields are not being updated with the values they are entering within ARA.

Investigation:
It is possible a user is experiencing this issue if the user is seeing the below behavior when logged into ARA within the webUI:
- The user is updating values (variables, prompts, other fields, etc..) for any object within ARA (workflow, package, application, etc..) and the values appear to be saving but upon refreshing the values have reverted back.
- This will usually occur after 10 - 15 minutes of being logged into the ARA webUI.

 
Cause:
Cause type:
Defect
Root Cause: The ARA frontend uses ASP.NET WebForm which has a concept called view state. The view state contains the state of the page in a hidden field by default. ARA stores view states in a folder StateFiles. The same state file is loaded and saved within a whole page load and subsequent ajax requests. ARA schedules a timer to cleanup state files and to delete files which have not been accessed for 4 hours (this value is configurable). For the calculation of old files ARA uses "Datetime.UtcNow" but "file.LastAccessTime" is in local time. This comparison can lead to the wrong result and currently used state files would then be cleaned up incorrectly.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Release Manager 8.0.0 - Available
Release Manager 7.0.2 - Available
Application Release Automation 6.0.5 Available
Additional Information:
Workaround :
Open the "web.config" file for editing generally located in the below directory on the machine running ARA:
Automic/ARA/WebUI/

**The WebUI folder can also be located within the Tomcat installation directory

Under the element "<appsettings>" add the following lines: 
 
<add key="CleanupIntervalInSecond" value="10000"/> 
<add key="ViewStateMinTimeInSecond" value="18000"/> 
<addkey="ViewStateMaxTimeInSecond"value="144000"/> 
<add key="MaxStateFiles" value="10000"/> 

Save the web.config file and restart Tomcat.