close

Filter

loading table of contents...

Deployment Manual / Version 2204

Table Of Contents

3.4 Workflow Server Properties

workflow.blob-cache-size
Type java.lang.Long
Default 32000000
Description

The size of the main disk cache of the UAPI

workflow.blob-streaming-size-threshold
Type java.lang.Integer
Default 131072
Description

The minimum size of streamed blobs

workflow.blob-streaming-threads
Type java.lang.Integer
Default 2
Description

The number of streaming threads

workflow.domain
Type java.lang.String
Default  
Description

The server's domain name

workflow.heap-cache-size
Type java.lang.Integer
Default 20000000
Description

The size of the main memory cache of the UAPI

workflow.ior-url
Type java.lang.String
Default  
Description

The Content Server's IOR URL

workflow.map-role
Type java.util.Map<java.lang.String,java.lang.String>
Default  
Description

Role mappings are used to replace group names in a process definition file by other group names without having to actually modify the textual definition

workflow.max-cached-blob-size
Type java.lang.Integer
Default  
Description

The maximum size of cached blobs

workflow.navigatethrough
Type java.lang.Boolean
Default true
Description

Whether to enable navigate through cache of the UAPI. This cache is used for computing read rights on folders in case no explicit read rights are defined and read rights on subfolders force read rights on folders on the path to these folders. Because these computations are expensive and sometimes unnecessary, this flag allows you to ignore navigate-through rights in the Workflow Server.

workflow.password
Type java.lang.String
Default workflow
Description

Define a password for the connection with the Content Management Server.

workflow.pool.queue-size
Type java.lang.Integer
Default 0
Description

Pool queue limit.

workflow.pool.threads-max
Type java.lang.Integer
Default  
Description

Pool thread max limit.

workflow.pool.threads-min
Type java.lang.Integer
Default 0
Description

Pool thread min limit.

workflow.server.adapters.directory
Type java.lang.String
Default com.coremedia.workflow.impl.server.adapters.directory.UnifiedUserManagerAdapter
Description

The directory service adapter.

workflow.server.adapters.persistence
Type java.lang.String
Default com.coremedia.workflow.impl.server.adapters.persistence.GenericRDBMSAdapter
Description

The persistence adapter.

workflow.server.allow-live
Type java.lang.Boolean
Default false
Description

Whether to allow connecting to a live Content Server

workflow.server.archive.retry-exceptions
Type java.util.List<java.lang.String>
Default [java.io.IOException, com.mongodb.MongoTimeoutException]
Description

List of exception classes that indicate temporary problems when archiving a workflow process. If one of these exception is thrown directly or as cause of another exception in com.coremedia.workflow.common.actions.ArchiveProcessFinalAction, then the Workflow Server will retry archiving with some delay as configured in properties workflow.server.retry-final-actions.*.

workflow.server.enable-workflow-converter
Type java.lang.Boolean
Default false
Description

This flag allows you to enable the workflow converter while starting Workflow Server

workflow.server.final-actions-max
Type java.lang.Integer
Default 10
Description

The maximum number of threads executing FinalActions of finished processes. This setting can be changed at runtime with the JMX attribute 'FinalActionsMax'.

workflow.server.remote-action-handler
Type java.lang.String
Default com.coremedia.cotopaxi.workflow.BuiltInRemoteActionHandler
Description

The remote action handler.

workflow.server.retry-final-actions.delay.initial
Type java.time.Duration
Default 1s
Description

The initial time interval to wait before retrying the execution of a workflow final action after it failed for the first time. The value must be >= 1 second. The initial interval is multiplied with the configured multiplier for each retry attempt (exponential back-off) until the configured maximum has been reached. This setting is ignored if the exception provides a different value in method RetryableActionException#getDelayBeforeRetry.

workflow.server.retry-final-actions.delay.max
Type java.time.Duration
Default 1h
Description

The maximum time to wait before retrying a failed execution of a workflow final action. The duration must be larger or equal to the specified initial time to wait. This setting is ignored if the exception provides a different value in method RetryableActionException#getDelayBeforeRetry.

workflow.server.retry-final-actions.delay.multiplier
Type java.math.BigDecimal
Default 2
Description

Multiplier for exponential back-off. The value must be >= 1.0. This setting is ignored if the exception provides a different value in method RetryableActionException#getDelayBeforeRetry.

workflow.server.retry-final-actions.delay.random-factor
Type java.math.BigDecimal
Default 0.1
Description

Factor to randomize the effective delay. The value must be >= 0.0 and < 1.0. Use 0.0 for no randomization. For example, a value of 0.1 creates effective delays in the range of plus/minus 10 percent of the computed delay. This also means that the actual delay can be up to 10 percent above the configured max value. This setting is ignored if the exception provides a different value in method RetryableActionException#getDelayBeforeRetry.

workflow.server.retry-final-actions.enabled
Type java.lang.Boolean
Default true
Description

Whether the execution of workflow final actions will be retried if a com.coremedia.cap.workflow.plugin.RetryableActionException was thrown. If set to false, retries after these exceptions are disabled completely and this cannot be overridden in the implementation of the RetryableActionException. This setting can be changed at runtime with the JMX attribute 'FinalActionsRetryEnabled'.

workflow.server.retry-final-actions.max-retries
Type java.lang.Integer
Default -1
Description

The maximum number of retry attempts, after a final action has failed with a com.coremedia.cap.workflow.plugin.RetryableActionException for a finished process instance. When the maximum number of retry attempts is reached, then the action will be skipped and the process instance will be deleted without successful execution of the failed final action. A value of -1 means unlimited retries. A value of 0 disables retries. This setting is ignored if the exception provides a different value in method RetryableActionException#getMaxRetries.

workflow.server.session.reaper-timeout
Type java.lang.Integer
Default 60
Description

The interval of the session reaper checks.

workflow.server.session.timeout
Type java.lang.Integer
Default 300
Description

The timeout until an inactive session is closed.

workflow.server.standalone
Type java.lang.String
Default  
Description

Possible values: 'true'|'false'|'embedded'

workflow.server.sweeper.concurrent
Type java.lang.Boolean
Default false
Description

The concurrent sweep mode.

workflow.server.sweeper.delay
Type java.lang.Long
Default 0
Description

The sweep delay.

workflow.server.termination-timeout-seconds
Type java.lang.Integer
Default 30
Description

Timeout for waiting on running threads on shutdown

workflow.server.tx.idletimeout
Type java.lang.Integer
Default 30
Description

Transaction handler idle timeout.

workflow.server.tx.max
Type java.lang.Integer
Default 20
Description

Limits the maximum number of database connections.

workflow.server.uapi.connect-retry-delay-seconds
Type java.lang.Long
Default 10
Description

The delay in seconds the Workflow Server waits between retries to connect to the Content Server when starting.

workflow.server.uapi.session-pool.max-idle-count
Type java.lang.Integer
Default 1000
Description

The maximum number of idle sessions to keep in the Content Server session pool.

workflow.server.uapi.session-pool.max-idle-time-m-s
Type java.lang.Long
Default 60000
Description

The time in milliseconds after which an idle session of the Content Server session pool should be closed.

workflow.server.uapi.session-pool.max-open-count
Type java.lang.Integer
Default 1000
Description

The maximum number of sessions to hold at any time (busy + idle) in the Content Server session pool.

workflow.serviceindicator
Type java.lang.String
Default  
Description

The server's service indicator

workflow.user
Type java.lang.String
Default workflow
Description

Define a user for the connection with the Content Management Server.

workflow.working-dir
Type java.lang.String
Default var/tmp
Description

Working directory of the workflow-server used to handle custom classes uploaded to the server. Path can be absolute or relative to user.dir system-property.

workflow.localization.auto-merge.legacy-list-merge
Type java.lang.Boolean
Default false
Description

Configures whether an old but backwards-compatible merge algorithm for merging list properties should be used. This also applies to struct lists. If true, merge conflicts are reported if there are any changes in overlapping regions of list values. This also includes changes in nested property values, for example if there are changes in translatable properties and those properties aren't excluded with workflow.localization.auto-merge.translatable=false, or if the AutoMergeStructListMapKeyFactory is configured to merge a struct list as map, and some non-key properties have changed. An example for the latter would be a conflict caused by removing a link in a master content and a changed annotation property for that link in the derived content. If false, an improved merge algorithm is used for list values, which tries to avoid merge conflicts in more cases.

workflow.localization.auto-merge.translatable
Type java.lang.Boolean
Default true
Description

Configures if translatable properties are automatically merged in translation workflows. If true, changes of translatable properties in a master content are also merged to derived content items by translation workflows, if there are no conflicting changes and the properties haven't been excluded otherwise. Opposed to non-translatable properties, merge conflicts for translatable properties are typically resolved silently in favor of the derived content and do not generate a warning for the user. There are some exceptions, especially when using the legacy list merge algorithm (see property workflow.localization.auto-merge.legacy-list-merge). Even if set to true, translatable properties can still be excluded from auto-merge, for example with extensions:automerge="false" in the document type definition or with a custom implementation of com.coremedia.translate.workflow.AutoMergePredicateFactory.

Table 3.22. Workflow Server Properties


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.