Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

The Maximum Number of Script Executions for a Single Operation Has Been Reached

Last updated on 10 December 2021 · 1 min read

Admin
M-Files Admin

Overview

The default limit for script executions is 25. When encountering this message prompt that the maximum number of executions has been reached, the following Advanced Vault Settings in M-Files Admin may be used to alter this behavior to either increase the limit or disable the limit.

 

Solution

Advanced Vault Settings > Configuration > Scripting > Script Operation Limit - This is the maximum number of certain types of operations to run via scripts. After receiving a message that the maximum number of executions has been reached, this value may be increased from 25 to a higher number to increase the limit.

image.png

Advanced Vault Settings > Configuration > Scripting > Limit View Event Script Executions - This setting controls whether the number of script executions is limited. If this is set to "Yes", limiting the number of script executions is enforced for "BeforeReturnView" event handlers.

image.png

Please note that scripting is not part of standard support, and please be aware that running scripts are at your own risk.
 

Still need help?

On this page