9.2 Configure Workflow Cluster Settings

Following are the settings that you might require to configure for your workflow cluster settings:

Cluster Setting

Description

Heartbeat Interval

Specifies the interval at which the workflow engine’s heartbeat is updated.

When the workflow engine starts up, it detects if its engine ID is already being used by another node in the cluster and refuses to start if the ID is in use. The User Application database maintains a list of engine IDs and engine states. If an engine crashes and is restarted, its last state in the database indicates that it is still running. The workflow engine therefore uses a heartbeat timer, which writes heartbeats at the specified interval, to determine if an engine with its ID is still running in the cluster. If it’s already running, it refuses to start.

The minimum value for the heartbeat interval is 60 seconds.

Heartbeat Factor

Specifies the factor that is multiplied with the heartbeat interval to arrive at the heartbeat timeout.

The timeout is the maximum elapsed time permitted between heartbeats before an engine will be considered timed out.

The minimum value for the heartbeat factor is 2.