This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The maximum number of operations that can be executed in the script

Hi guys,
I met error in script. I start a workflow during synchronization object type from external DB - one action - calling script for import/process document and filling metadata.
I have only a sample of the total count of records, I met error: Generic Exception Handler: System.Runtime.InteropServices.COMException (0x80040001): The maximum number of operations that can be executed in the script has been exceeded.

I see that the file to be added more than 26x by metadata (the document used in the order), this file generate error: each relation file-order is processed separately.

Is it possible to set a higher number of publications and bookings?
Thanks,
O.
  • Hi,
    I have an info from partner, the default number of such concurrent script operations is 25. I thought my script works as series of steps, but parallel is right.

    Registry settings on the server:

    HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\\Server\MFServer
    ScriptOperationLimit (default 25)
    ScriptTimeoutInSeconds (default 90)
    ScriptObjectCreationLimit (default 10000)

    M-Files Server service restart might be needed for the changed values to take effect.