Workflow Runtime Parameters
The workflow engine supports the following runtime parameters for advanced tuning:
Parameter name | Description | Default value | Allowed values range |
---|---|---|---|
EWFHistoryDepth |
Controls the depth of the history kept for the individual workflow type (configuration). If a new instance of the workflow type is about to be run, the number of currently saved historical run-informations is checked and if there is no place for the new run-information (that is, the limit is reached), the oldest run-information is removed. This action removes both run-information and instance resources. |
15 |
10 - 10000 |
EWFThreadSlots |
Limits the number of tasks running in parallel per workflow. |
3 |
3 - 30 |
The parameters described are Java arguments, so they must be passed in the Java attribute form when starting the workflow engine (or the server when used as a server-embedded module):
-D<attributeName>=<attributeValue>
-DEWFThreadSlots=6
To pass these runtime parameters permanently on the server startup, modify the onlinectl.bat
or onlinectl.sh
file by adding the following lines:
set JAVA_OPTS="-D<attributeName>=<attributeValue>"
export JAVA_OPTS="-D<attributeName>=<attributeValue>"
Was this page useful?