Skip to main content

Workflow Parameters

ParamTargetValue triples

The workflow can be configured with ParamTargetValue instances.

ParamTargetValue
### workflow.startEngines.interval
target: Always default

Sets the interval in ms at which the EngineStarterBean checks for changes in the EngineService configuration. This bean is responsible for automatically starting engines.

By default, this interval is 2 minutes. It can be decreased to have a faster startup of engines, at the cost of firing more queries.

See also Engine Node Services

ParamTargetValue
workflow.startEngines.intervaldefault5000
ParamTargetValue
### workflow.checkHealth.interval
target: Always default

Sets the interval in ms at which the EngineHealthBean checks the health of running engines. This updates the status of EngineNodes and EngineNodeServices. It also recovers claimable workflows in case another node has failed.

By default, this interval is 5 minutes.

See also Actions performed by Health task

ParamTargetValue
workflow.checkHealth.intervaldefault60000
ParamTargetValue
### workflow.checkHealth.timeout
target: Always default

Sets the timeout in ms after which Engine Nodes are considered unresponsive.

By default, this timeout is 10 minutes.

ParamTargetValue
workflow.checkHealth.timeoutdefault300000
ParamTargetValue
### workflow.checkHealth.cleanup
target: Always default

Sets the timeout in ms after which unresponsive Engine Nodes are deleted from the database.

By default, this timeout is 24 hours.

ParamTargetValue
workflow.checkHealth.cleanupdefault3600000
ParamTargetValue
### workflow.checkHealth.cleanup
target: Always default

Sets the timeout in ms after which unresponsive Engine Nodes are deleted from the database.

By default, this timeout is 24 hours.

ParamTargetValue
workflow.checkHealth.cleanupdefault3600000
ParamTargetValue
### workflow.executorService.jndiName
target: ExecutorServiceTaskProcessor

Sets the jndi used to find the ExecutorService used by the ExecutorServiceTaskProcessor. This processor uses an ExecutorService to parallelize tasks in an EngineBean.

To use the ExecutorServiceTaskProcessor, use applicationInstance option experimental.workflow.useExecutorService with value net.democritus.wfe.ExecutorServiceTaskProcessor.

ParamTargetValue
workflow.executorService.jndiNameExecutorServiceTaskProcessoropenejb:Resource/executorService

WorkflowApplicationSettings properties

The settings can be set by adding a workflow.ns.properties file to the ClassPath.

Property
### config.cache.timeout

The workflow Component caches data from the following DataElements because it rarely changes:

  • Workflow
  • StateTask
  • TimeWindow
  • TimeWindowGroup
  • User

Setting this property sets the timeout for these caches (value should be the time in ms). This can be used to have the configuration be refreshed if changed at runtime.

By default, the timeout is set to 0. This causes the cache to never expire.

workflow.ns.properties
config.cache.timeout: 10000