Setup:
Flowable version: 7.0.1
Database: [MySQL]
History level: NONE
Execution: Using sequential multi-instance subProcess (isSequential=“true”)
Loop cardinality : 10000.
BPMN of Subprocess:
<subProcess id="Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess" name="CreateUpdate_Facility_Item_Vendor_Forecast_External_V001">
<multiInstanceLoopCharacteristics isSequential="true" flowable:collection="docUriListToLoop" flowable:elementVariable="docUri">
<extensionElements>
<flowable:variableAggregation target="resultBeanList" flowable:transient="true">
<flowable:variable source="resultOutputMap" target="resultOutputMap"/>
</flowable:variableAggregation>
</extensionElements>
</multiInstanceLoopCharacteristics>
<startEvent id="Start_Sub"/>
<serviceTask id="CheckRule" flowable:delegateExpression="${ruleDelegate}">
<extensionElements>
<flowable:field name="ruleName" stringValue="Vendor Check Publish Vendor Forecast Is True"/>
<flowable:field name="ruleResultField" stringValue="rs_Rule_Publish"/>
</extensionElements>
</serviceTask>
<exclusiveGateway id="Gateway_PublishCheck"/>
<serviceTask id="FCPU_Forecast_External" flowable:delegateExpression="${baseFunctionDelegate}">
<extensionElements>
<flowable:field name="baseFunction" stringValue="fcpu"/>
<flowable:field name="paramSet" stringValue="CreateUpdate Forecast Internal TO External"/>
</extensionElements>
</serviceTask>
<endEvent id="End_Sub"/>
<sequenceFlow sourceRef="Start_Sub" targetRef="CheckRule"/>
<sequenceFlow sourceRef="CheckRule" targetRef="Gateway_PublishCheck"/>
<sequenceFlow sourceRef="Gateway_PublishCheck" targetRef="FCPU_Forecast_External">
<conditionExpression xsi:type="tFormalExpression">${rs_Rule_Publish}</conditionExpression>
</sequenceFlow>
<sequenceFlow sourceRef="Gateway_PublishCheck" targetRef="End_Sub">
<conditionExpression xsi:type="tFormalExpression">${!rs_Rule_Publish}</conditionExpression>
</sequenceFlow>
<sequenceFlow sourceRef="FCPU_Forecast_External" targetRef="End_Sub"/>
</subProcess>
Observed Behavior
-
At the start of the sequential multi-instance subprocess, the delay between one subprocess iteration finishing and the next iteration starting is around 20 ms.
- Please refer to FlowableEngineLog1 (which mainly shows DEBUG-level internal Flowable engine logs captured after one subprocess iteration finishes and before the next iteration begins. The delay between these log blocks grows as the number of iterations increases.)
-
As the loop progresses toward higher iteration counts (e.g., 8,000–10,000 items), the delay increases to ~300 ms per iteration.
- Please refer to FlowableEngineLog2.
-
This slowdown is consistent both in the multi-instance subprocess and when using a call activity.
-
Variable aggregation is implemented to collect subprocess results into the parent process.
Question
- How can we address or mitigate this performance problem when dealing with 10k+ sequential iterations?
Thanks in advance for your guidance!
FlowableEngineLog1
06:25:15.143 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.executeActivityBehavior 267 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_Start' with execution 94f51bb8-8c7c-11f0-9763-1acb0952e19b
06:25:15.143 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.142 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
06:25:15.142 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
06:25:15.142 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.continueThroughSequenceFlow 351 - Sequence flow 'null' encountered. Continuing process by following it using execution 94f51bb8-8c7c-11f0-9763-1acb0952e19b
06:25:15.142 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.142 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
06:25:15.142 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
06:25:15.142 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 201 - Leaving flow node class org.flowable.bpmn.model.StartEvent with id 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_Start_Default' by following it's 1 outgoing sequenceflow
06:25:15.142 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.142 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
06:25:15.142 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda
06:25:15.142 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.executeActivityBehavior 267 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_Start_Default' with execution 94f51bb8-8c7c-11f0-9763-1acb0952e19b
06:25:15.141 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.141 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
06:25:15.141 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
06:25:15.141 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.createChildExecution 340 - Child execution Execution[ id '94f51bb8-8c7c-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - parent '94f39514-8c7c-11f0-9763-1acb0952e19b' - tenantId 'PERF1' created with parent 94f39514-8c7c-11f0-9763-1acb0952e19b
06:25:15.141 DEBUG PERF1 o.f.e.i.a.ContinueMultiInstanceOperation.executeSynchronous 92 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.SequentialMultiInstanceBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess' with execution 94f39514-8c7c-11f0-9763-1acb0952e19b
06:25:15.141 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.140 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
06:25:15.140 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 135 - Current history level: NONE, level required: FULL
06:25:15.140 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
06:25:15.140 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueMultiInstanceOperation
06:25:15.139 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
06:25:15.138 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: 94bc0a3f-8c7c-11f0-9763-1acb0952e19b(String), bpmnExternalWorker(String), bpmnVariableAggregation(String)
06:25:15.137 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_VARIABLE WHERE SUB_SCOPE_ID_ = ? AND SCOPE_TYPE_ in ( ? , ? )
06:25:15.136 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.deleteRelatedDataForExecution 826 - Ending and deleting execution Scoped execution[ id '94bc0a3f-8c7c-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess' - parent '911e98db-8c7c-11f0-9763-1acb0952e19b' - tenantId 'PERF1' Reason: null
06:25:15.136 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.136 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
06:25:15.134 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: 94bc0a3f-8c7c-11f0-9763-1acb0952e19b(String)
06:25:15.134 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EXECUTION where SUPER_EXEC_ = ?
06:25:15.134 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
06:25:15.132 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: 94be2d23-8c7c-11f0-9763-1acb0952e19b(String)
06:25:15.132 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EXECUTION where SUPER_EXEC_ = ?
06:25:15.132 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.DestroyScopeOperation
06:25:15.132 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueMultiInstanceOperation added to agenda
06:25:15.132 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
06:25:15.131 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 135 - Current history level: NONE, level required: FULL
06:25:15.131 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
06:25:15.131 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.createChildExecution 340 - Child execution Execution[ id '94f39514-8c7c-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - parent '911e98db-8c7c-11f0-9763-1acb0952e19b' - tenantId 'PERF1' created with parent 911e98db-8c7c-11f0-9763-1acb0952e19b
06:25:15.131 DEBUG PERF1 o.f.e.i.b.b.MultiInstanceActivityBehavior.logLoopDetails 595 - Multi-instance 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess' instance completed. Details: loopCounter=17, nrOrCompletedInstances=17,nrOfActiveInstances=1,nrOfInstances=9394
06:25:15.130 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
06:25:15.130 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
06:25:15.130 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 135 - Current history level: NONE, level required: FULL
06:25:15.130 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.DestroyScopeOperation added to agenda
06:25:15.130 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
06:25:15.128 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: compensate(String), 94bc0a3f-8c7c-11f0-9763-1acb0952e19b(String)
06:25:15.128 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EVENT_TYPE_ = ?) and (EXECUTION_ID_ = ?)
06:25:15.128 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
06:25:15.126 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: 94bc0a3f-8c7c-11f0-9763-1acb0952e19b(String)
06:25:15.126 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EXECUTION where PARENT_ID_ = ?
06:25:15.125 DEBUG PERF1 o.f.e.i.agenda.EndExecutionOperation.handleRegularExecution 198 - Parent execution found. Continuing process using execution 94bc0a3f-8c7c-11f0-9763-1acb0952e19b
06:25:15.125 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.deleteRelatedDataForExecution 826 - Ending and deleting execution Execution[ id '94be2d23-8c7c-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default' - parent '94bc0a3f-8c7c-11f0-9763-1acb0952e19b' - tenantId 'PERF1' Reason: null
06:25:15.125 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.125 DEBUG PERF1 o.f.e.i.agenda.EndExecutionOperation.handleRegularExecution 195 - Ending execution 94be2d23-8c7c-11f0-9763-1acb0952e19b
06:25:15.125 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.EndExecutionOperation
06:25:15.125 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.EndExecutionOperation added to agenda
06:25:15.125 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 247 - No outgoing sequence flow found for flow node 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default'.
06:25:15.125 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 201 - Leaving flow node class org.flowable.bpmn.model.EndEvent with id 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default' by following it's 0 outgoing sequenceflow
06:25:15.124 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
06:25:15.124 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda
06:25:15.124 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.executeActivityBehavior 267 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.NoneEndEventActivityBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default' with execution 94be2d23-8c7c-11f0-9763-1acb0952e19b
06:25:15.124 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.124 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
06:25:15.124 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
06:25:15.124 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.continueThroughSequenceFlow 351 - Sequence flow 'null' encountered. Continuing process by following it using execution 94be2d23-8c7c-11f0-9763-1acb0952e19b
06:25:15.124 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.124 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
06:25:15.124 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
06:25:15.124 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 201 - Leaving flow node class org.flowable.bpmn.model.ServiceTask with id 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End' by following it's 1 outgoing sequenceflow
06:25:15.124 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
06:25:15.123 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
06:25:15.123 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda
20ms
FlowableEngineLog2
07:51:55.206 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.executeActivityBehavior 267 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_Start' with execution b05e5ba8-8c88-11f0-9763-1acb0952e19b
07:51:55.206 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:55.163 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
07:51:55.163 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
07:51:55.163 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.continueThroughSequenceFlow 351 - Sequence flow 'null' encountered. Continuing process by following it using execution b05e5ba8-8c88-11f0-9763-1acb0952e19b
07:51:55.163 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:55.148 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
07:51:55.148 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
07:51:55.148 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 201 - Leaving flow node class org.flowable.bpmn.model.StartEvent with id 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_Start_Default' by following it's 1 outgoing sequenceflow
07:51:55.148 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:55.134 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
07:51:55.134 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda
07:51:55.134 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.executeActivityBehavior 267 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_Start_Default' with execution b05e5ba8-8c88-11f0-9763-1acb0952e19b
07:51:55.133 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:55.090 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
07:51:55.090 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
07:51:55.090 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.createChildExecution 340 - Child execution Execution[ id 'b05e5ba8-8c88-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - parent 'b0518a64-8c88-11f0-9763-1acb0952e19b' - tenantId 'PERF1' created with parent b0518a64-8c88-11f0-9763-1acb0952e19b
07:51:55.090 DEBUG PERF1 o.f.e.i.a.ContinueMultiInstanceOperation.executeSynchronous 92 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.SequentialMultiInstanceBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess' with execution b0518a64-8c88-11f0-9763-1acb0952e19b
07:51:55.090 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:55.046 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
07:51:55.046 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 135 - Current history level: NONE, level required: FULL
07:51:55.046 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
07:51:55.046 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueMultiInstanceOperation
07:51:55.036 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
07:51:55.035 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: afd4921f-8c88-11f0-9763-1acb0952e19b(String), bpmnExternalWorker(String), bpmnVariableAggregation(String)
07:51:55.034 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_VARIABLE WHERE SUB_SCOPE_ID_ = ? AND SCOPE_TYPE_ in ( ? , ? )
07:51:55.024 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.deleteRelatedDataForExecution 826 - Ending and deleting execution Scoped execution[ id 'afd4921f-8c88-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess' - parent '911e98db-8c7c-11f0-9763-1acb0952e19b' - tenantId 'PERF1' Reason: null
07:51:55.023 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:55.013 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
07:51:55.012 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: afd4921f-8c88-11f0-9763-1acb0952e19b(String)
07:51:55.012 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EXECUTION where SUPER_EXEC_ = ?
07:51:55.010 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
07:51:55.009 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: afe1d893-8c88-11f0-9763-1acb0952e19b(String)
07:51:55.009 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EXECUTION where SUPER_EXEC_ = ?
07:51:55.007 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.DestroyScopeOperation
07:51:55.007 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueMultiInstanceOperation added to agenda
07:51:55.006 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
07:51:55.006 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 135 - Current history level: NONE, level required: FULL
07:51:55.006 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
07:51:55.006 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.createChildExecution 340 - Child execution Execution[ id 'b0518a64-8c88-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - parent '911e98db-8c7c-11f0-9763-1acb0952e19b' - tenantId 'PERF1' created with parent 911e98db-8c7c-11f0-9763-1acb0952e19b
07:51:55.006 DEBUG PERF1 o.f.e.i.b.b.MultiInstanceActivityBehavior.logLoopDetails 595 - Multi-instance 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess' instance completed. Details: loopCounter=9393, nrOrCompletedInstances=9393,nrOfActiveInstances=1,nrOfInstances=9394
07:51:55.005 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
07:51:55.005 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 123 - Current history level: NONE, level required: ACTIVITY
07:51:55.005 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryLevelAtLeast 135 - Current history level: NONE, level required: FULL
07:51:55.005 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.DestroyScopeOperation added to agenda
07:51:55.005 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
07:51:55.004 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: compensate(String), afd4921f-8c88-11f0-9763-1acb0952e19b(String)
07:51:55.003 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EVENT_TYPE_ = ?) and (EXECUTION_ID_ = ?)
07:51:54.999 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS <== Total: 0
07:51:54.998 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Parameters: afd4921f-8c88-11f0-9763-1acb0952e19b(String)
07:51:54.998 DEBUG PERF1 o.a.i.logging.jdbc.BaseJdbcLogger.debug 137 - MYBATIS ==> Preparing: select * from ACT_RU_EXECUTION where PARENT_ID_ = ?
07:51:54.997 DEBUG PERF1 o.f.e.i.agenda.EndExecutionOperation.handleRegularExecution 198 - Parent execution found. Continuing process using execution afd4921f-8c88-11f0-9763-1acb0952e19b
07:51:54.997 DEBUG PERF1 o.f.e.i.p.e.ExecutionEntityManagerImpl.deleteRelatedDataForExecution 826 - Ending and deleting execution Execution[ id 'afe1d893-8c88-11f0-9763-1acb0952e19b' ] - definition '8fe87f77-8c70-11f0-b889-6659b34e6d0e' - activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default' - parent 'afd4921f-8c88-11f0-9763-1acb0952e19b' - tenantId 'PERF1' Reason: null
07:51:54.997 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:54.985 DEBUG PERF1 o.f.e.i.agenda.EndExecutionOperation.handleRegularExecution 195 - Ending execution afe1d893-8c88-11f0-9763-1acb0952e19b
07:51:54.985 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.EndExecutionOperation
07:51:54.985 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.EndExecutionOperation added to agenda
07:51:54.984 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 247 - No outgoing sequence flow found for flow node 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default'.
07:51:54.984 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 201 - Leaving flow node class org.flowable.bpmn.model.EndEvent with id 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default' by following it's 0 outgoing sequenceflow
07:51:54.984 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
07:51:54.984 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda
07:51:54.984 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.executeActivityBehavior 267 - Executing activityBehavior class org.flowable.engine.impl.bpmn.behavior.NoneEndEventActivityBehavior on activity 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End_Default' with execution afe1d893-8c88-11f0-9763-1acb0952e19b
07:51:54.984 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:54.941 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
07:51:54.941 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
07:51:54.941 DEBUG PERF1 o.f.e.i.a.ContinueProcessOperation.continueThroughSequenceFlow 351 - Sequence flow 'null' encountered. Continuing process by following it using execution afe1d893-8c88-11f0-9763-1acb0952e19b
07:51:54.941 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:54.927 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.ContinueProcessOperation
07:51:54.927 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.ContinueProcessOperation added to agenda
07:51:54.927 DEBUG PERF1 o.f.e.i.a.TakeOutgoingSequenceFlowsOperation.leaveFlowNode 201 - Leaving flow node class org.flowable.bpmn.model.ServiceTask with id 'Loop__ws__forecast__ws__internal__ws__fetch-loopSubProcess_End' by following it's 1 outgoing sequenceflow
07:51:54.927 DEBUG PERF1 o.f.e.i.h.DefaultHistoryConfigurationSettings.isHistoryEnabledForActivity 160 - Current history level: NONE, level required: ACTIVITY
07:51:54.914 DEBUG PERF1 o.f.e.i.interceptor.CommandInvoker.executeOperation 163 - Executing operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
07:51:54.914 DEBUG PERF1 o.f.e.i.a.DefaultFlowableEngineAgenda.planOperation 54 - Operation class org.flowable.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda
292ms