Notifications

14 views

Description

Below error constantly getting logged in syslog and need help to understand what is causing that and what needs to be done.

Error - "WorkflowCoordinator:Invalid pool configuraiton, using max for poolsize Log Object" 

Cause

1 I could see this error in Workflow Context Log of Workflow "HR Activity Set Launcher"

2 Error is being logged as part of below code from script include - WorkflowCoordinator

if (settings.poolsize < 1 || settings.poolsize > settings.max) {
error('Invalid pool configuraiton, using max for poolsize ' + JSUtil.describeObject(settings));
settings.poolsize = settings.max;


3 Checked Parallel Flow Launcher Activiry from Workflow and "Max Simultaneous" is configured as 50 and "Max flows" configured as 25 which is causing this Issue

3.1 "Max Simultaneous" overrides poolsize parameter from WorkflowCoordinator script include constructor
3.2 Max Flows override "max" parameter from WorkflowCoordinator script include constructor

4 Due to which "settings.poolsize > settings.max" returns true in if condition of script include code and it logs error

Resolution

1 Check out workflow "HR Activity Set Launcher"
2 Set "Max flows" value greater than "Max Simultaneous" and publish this back

Article Information

Last Updated:2019-10-29 23:12:35
Published:2019-10-30