######################################################################
# BRM Properties
######################################################################
#
#
# This file is used to set up the properties for the BRM engine.
#
# It supports the following parameters:
#
# monitor.enable (optional)
#	Tells the AMX-BPM framework that it should monitor this properties file for changes.   If omitted it defaults to false
#
#		true	-	Monitor the file
#		false	-	Don't monitor the file (the default)
#
# monitor.interval (optional)
#	Tells the AMX-BPM framework with what frequency (in milliseconds) it should check this file for modifications.   If omitted it defaults to 5000ms.
#
# defaultSort (optional)
#	Specifies the system wide default sort criteria for work lists.  It can have one of the following values:
#
#		DEFAULT			-	priority (Ascending), endDate (Ascending), allocationMethod (Allocated)
#		ENDDATE_FIRST	-	endDate (Ascending), priority (Ascending)
#		ENDDATE_ONLY	-	endDate (Ascending)
#
#	If no value for this property is specified, or a value other than one of the above is set, then the system defaults to option 1 (default)
#
# workItemCacheSize (optional)
#	The number of work item ID sequences to cache.   If no value for this property is specified then the system defaults to 50
#
# workTypeCacheSize (optional)
#	The number of work type ID sequences to cache.   If no value for this property is specified then the system defaults to 50
#
# workGroupCacheSize (optional)
#	The number of work group ID sequences to cache.   If no value for this property is specified then the system defaults to 50
#
# workModelBRMCacheSize (optional)
#	The number of work model ID sequences to cache.   If no value for this property is specified then the system defaults to 5
#
# workModelEntityBRMCacheSize (optional)
#	The number of work model entity ID sequences to cache.   If no value for this property is specified then the system defaults to 5
#
# workModelTypesBRMCacheSize (optional)
#	The number of work model type ID sequences to cache.   If no value for this property is specified then the system defaults to 5
#
# scriptTypeBRMCacheSize (optional)
#	The number of script type ID sequences to cache.   If no value for this property is specified then the system defaults to 5
#
# workViewCacheSize (optional)
#	The number of work view ID sequences to cache.   If no value for this property is specified then the system defaults to 5
#
# workGroupBatchSize (optional)
#	The batch size to return for the work group batch interface.   If no value for this property is specified then the system defaults to 25
#
# workItemBatchSize (optional)
#	The batch size to return for the work item batch interface.   If no value for this property is specified then the system defaults to 25
#
# workItemEventThreadSleep (optional)
#	The default sleep period in seconds for the BRM work item event thread.   If no value for this property is specified then the system defaults to 60
#
# prepareForUndeployThreadSleep (optional)
#	The default sleep period in seconds for the BRM prepare for undeploy thread.   If no value for this property is specified then the system defaults to 25
#
# workTypeLRUCacheSize (optional)
#	The size of the cache that holds work type objects.   If no value for this property is specified then the system defaults to 100
#
# workModelLRUCacheSize (optional)
#	The size of the cache that holds work model objects.   If no value for this property is specified then the system defaults to 100
#
# scriptTypeLRUCacheSize (optional)
#	The size of the cache that holds script type objects.   If no value for this property is specified then the system defaults to 100
#
# deletedResourceOfferSetBatchSize (optional)
#	The number of rows to process before committing when updating offer sets that contain a deleted resource.
#
# enhancedBooleanValidation (optional)
#	Specifies if the system is to use enhanced data validation on new installs this will be true in brm.properties.
#	This enhanced validation will enforce validation on booleans 
#
# useWorkModelOrgVersion (optional)
#	Specifies if the system is to use the global org model version encoded in the work model when executing work
#	item scripts.   If true it will use the work model org model version, if false it will use the previous default of -1.
#
# breakChainWhenNoAllocate (optional)
#	If a work item is scheduled that is part of a chain but *cannot* be allocated to the current user (i.e. "Chain where possible" is not possible)
#	then signal WP that the chain is broken and allow the form to close.  Future items will continue to behave as they always have and be allocated
#	according to the chaining group history.
#
# orgNotificationCacheSize (optional)
#	The size of theOrg Model Notification message sequence cache.
#
# orgNotificationBaseSleep (optional)
#	The initial sleep period for the org notification queue.
#
# orgNotificationSleepIncrement (optional)
#	The amount the sleep period should increment by each time when the system is idle.
#
# orgNotificationMaxSleep (optional)
#	The maximum time the org notification queue should sleep for.
#
# allocateAndOpenRetryCount
#	Number of times to retry an open and allocate operation
#
# allocateAndOpenRetryTime
#	Time in ms to sleep before retrying the allocate and open operation
#
monitor.enable=true
defaultSort=ENDDATE_FIRST
workItemCacheSize=50
workTypeCacheSize=50
workGroupCacheSize=50
workModelBRMCacheSize=5
workModelEntityBRMCacheSize=5
workModelTypesBRMCacheSize=5
scriptTypeBRMCacheSize=5
workViewCacheSize=5
workGroupBatchSize=25
workItemBatchSize=25
workItemEventThreadSleep=60
prepareForUndeployThreadSleep=60
workTypeLRUCacheSize=100
workModelLRUCacheSize=100
scriptTypeLRUCacheSize=100
deletedResourceOfferSetBatchSize=1000
enhancedBooleanValidation=true
useWorkModelOrgVersion=true
breakChainWhenNoAllocate=false
orgNotificationCacheSize=1
orgNotificationBaseSleep=1000
orgNotificationSleepIncrement=5000
orgNotificationMaxSleep=60000
allocateAndOpenRetryCount=5
allocateAndOpenRetryTime=200
