cancel
Showing results for 
Search instead for 
Did you mean: 

MaxUndoLevels in Automate.Config file

RameshSambari
Level 3
Hi Team,

Couple of questions on Automate.Config file.
1) What is the use of MaxUndoLevels setting in Automate.Config file.
2) Any option to set this from command line (CLI).

------------------------------
Ramesh Sambari
------------------------------
1 BEST ANSWER

Helpful Answers

steven.boggs
Staff
Staff
Hi Ramesh,

This setting adjusts the amount of "UNDO" changes saved in memory in the Process and Object Studio. The number of UNDO levels is the only setting which Blue Prism configures which affects the memory usage of the Process and Object Studio application. In order to modify the UNDO level settings, you can edit a file called 'automate.config' which is stored in the following location:

      C:\ProgramData\Blue Prism Limited\Automate V3

The relevant setting is called 'maxundolevels':

   <?xml version="1.0" encoding="utf-8"?>    
 <config>        
     <editsummariesarecompulsory>True</editsummariesarecompulsory> 
     <startprocessengine>True</startprocessengine>     
     <maxundolevels>0</maxundolevels>
    
  ....

Setting this value to "0" can maximize the amount of memory available as you design Processes. However, a setting of '0' means you will not be able to undo any changes. Setting the level to a value of '1' will still require some memory consumption but will minimize the amount of change data that is being stored, and will only allow you to undo the last change you made to a Process. 

There is not currently an option to set this from the CLI in the product. If you wish to see this type of switch added to the available commands for AutomateC.exe in a future release of Blue Prism, I would suggest you submit this as an enhancement request via our Ideas Portal.


------------------------------
Steve Boggs
Senior Software Support Engineer
Blue Prism
Austin, TX
------------------------------

View answer in original post

2 REPLIES 2

steven.boggs
Staff
Staff
Hi Ramesh,

This setting adjusts the amount of "UNDO" changes saved in memory in the Process and Object Studio. The number of UNDO levels is the only setting which Blue Prism configures which affects the memory usage of the Process and Object Studio application. In order to modify the UNDO level settings, you can edit a file called 'automate.config' which is stored in the following location:

      C:\ProgramData\Blue Prism Limited\Automate V3

The relevant setting is called 'maxundolevels':

   <?xml version="1.0" encoding="utf-8"?>    
 <config>        
     <editsummariesarecompulsory>True</editsummariesarecompulsory> 
     <startprocessengine>True</startprocessengine>     
     <maxundolevels>0</maxundolevels>
    
  ....

Setting this value to "0" can maximize the amount of memory available as you design Processes. However, a setting of '0' means you will not be able to undo any changes. Setting the level to a value of '1' will still require some memory consumption but will minimize the amount of change data that is being stored, and will only allow you to undo the last change you made to a Process. 

There is not currently an option to set this from the CLI in the product. If you wish to see this type of switch added to the available commands for AutomateC.exe in a future release of Blue Prism, I would suggest you submit this as an enhancement request via our Ideas Portal.


------------------------------
Steve Boggs
Senior Software Support Engineer
Blue Prism
Austin, TX
------------------------------

Thank you Steve. I have posted MaxUndoLevels CLI suggestion in Ideas portal.

------------------------------
Ramesh Sambari
------------------------------