Section "Main Mode"

parallelWFExecutors

    <entry key="parallelWFExecutors" type="System.Int32" default="5"></entry>

This setting specifies the number of workflows that can be executed in parallel using sub processes of kenaflow.

rerHostEnabled

    <entry key="rerHostEnabled" type="System.Boolean" default="true"></entry>

This setting enables (by default) the "Remote Event Receiver" mode for this instance of _kenaflow.

This means that a sub process of kenaflow will listen for SharePoint and other remote events.

rerHostOnlyMode

    <entry key="rerHostOnlyMode" type="System.Boolean" default="false"></entry>

If enabled this kenaflow instance will ONLY execute the "Remove Event Receiver" sub process. No workflows will be executed.

This could be usefull to run the remove event receiver on a seperate machine that receives events for other kenaflow instances on other server.

Remote events are written to a disk folder or network share as configured in section "RER" of the global configuration.

slots

    <entry key="slots" type="System.String" comment="semicolon separated list of integer values" default=""></entry>

This setting can be used to configure "execution slots".

Please read article Execution Slots of section "Advanced Configuration" for details.

disablePriorityAlgorithm

    <entry key="disablePriorityAlgorithm" type="System.Boolean" comment="" default="false"></entry>

This setting can be used to switch off the priority engine for workflows.

Please read article Workflow Priority of section "Advanced Configuration" for details.

FirstRunTBEAddPercentage

    <entry key="FirstRunTBEAddPercentage" type="System.Int32" default="10"></entry>

This setting specifies a kind of delay for the first start of a workflow after a server reboot or "if the main mode process" starts. It uses the percentage configured here multiplied with the workflows "TBE" ("time between execution") and multiplied with a random value to delay the first start of a workflow. This prevents kenaflow to run all workflows asap after an engine restart. To disable this feature you can set it to 0 (zero). If this feature is enabled (setting greater than 0), it uses a minimum of 10 seconds to be multiplied with the random value if the TBE * FirstRunTBEAddPercentage is lower than 10 seconds.

The (pseudo code) formula is: random_double_between_0_and_1 * max( 10, (TBE * (FirstRunTBEAddPercentage / 100)) ) (function "max" means: "take the number that is greater"! It's not an error.)

Full Section Default

<section name="mainmode">
  <entry key="parallelWFExecutors" type="System.Int32" default="5"></entry>
  <entry key="rerHostEnabled" type="System.Boolean" default="true"></entry>
  <entry key="rerHostOnlyMode" type="System.Boolean" default="false"></entry>
  <entry key="slots" type="System.String" comment="semicolon separated list of integer values" default=""></entry>
  <entry key="disablePriorityAlgorithm" type="System.Boolean" comment="" default="false"></entry>
  <entry key="FirstRunTBEAddPercentage" type="System.Int32" default="10"></entry>
</section>