none
Maximum persistable workflow RRS feed

  • Question

  • Hi everybody, I have a problem with the maximum persistence size. In my WFs i call an external service that return a very huge message (something like 5MB...) and I receive the maximum persistable workflow instance bla bla error. The error message talk about uncompressed and compressed limits...so I change the farm configuration increasing the WorkflowServiceMaxInstanceSizeKB (for test purpose i set it to 30720!) but I again receive the max limit message BUT with a little difference:

    "The maximum persistable workflow instance size is 30720 kilobytes uncompressed and 5120 kilobytes compressed."

    As you can see the "compressed" limit does not change and still remain the default one.

    Does anyone know which is the correct configuration setting that I have to change?

    I also try another way: i put a NoPersistScope around the external service call and the subsequent one that use the service response to invoke other (mine) service the save parts of the message) but in this way the workflow never ends and still remain in the started state; also the subsequent services are not invoked...strange...any idea?

    Thanks!

    Friday, January 17, 2014 9:44 AM

Answers

  • I find out that in table WorkflowServiceConfig of DB WFResourceManagementDB there are more configuration keys (and values!) of the one exposed in MSDN page (http://msdn.microsoft.com/en-us/library/jj680843(v=azure.10).aspx).

    So for my need I change WorkflowServiceMaxInstanceCompressedSizeKB in the DB and then find out that I can also use the cmdlet  Set-WFServiceConfiguration.

    So let's have a look inside this table to find out ALL the possible configurations :)

    Thanks

    • Marked as answer by Simone Cherici Wednesday, January 22, 2014 9:05 AM
    Wednesday, January 22, 2014 9:05 AM