Skip to content

Commit ab7bdec

Browse files
dbmalkovskyfiliphr
andauthored
Update modules/flowable-engine/src/main/java/org/flowable/engine/impl/dynamic/AbstractDynamicStateManager.java
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
1 parent 350327f commit ab7bdec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/flowable-engine/src/main/java/org/flowable/engine/impl/dynamic/AbstractDynamicStateManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ protected void doMoveExecutionState(ProcessInstanceChangeState processInstanceCh
631631
continue;
632632
}
633633

634-
if (newChildExecution.getCurrentFlowElement() instanceof Task task && ((Task) newChildExecution.getCurrentFlowElement()).isAsynchronous()) {
634+
if (newChildExecution.getCurrentFlowElement() instanceof Task task && task.isAsynchronous()) {
635635
JobService jobService = CommandContextUtil.getJobService(commandContext);
636636

637637
JobEntity job = JobUtil.createJob(newChildExecution, newChildExecution.getCurrentFlowElement(), AsyncContinuationJobHandler.TYPE, CommandContextUtil.getProcessEngineConfiguration(commandContext));

0 commit comments

Comments
 (0)