flowable / flowable/flowable-engine

Mutli instance does not work when using a ReceiveTaskActivityBehavior based prototype scoped spring bean

Open
#414 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

The trigger (signal) method of ServiceTaskDelegateExpressionActivityBehavior does not setup the multi instance behavior correctly when using a delegateExpression to a prototype scoped spring bean. This causes the "loop" to terminate when triggerd/signalled.

The AbstractBpmnActivityBehavior.multiInstanceActivityBehavior reference is not assigned before the activity is triggered/signalled.

The setup;
- A service task with multi instance properties setup.
- A delegateExpression to a prototype scoped spring bean.
- The bean is a subsclass of ReceiveTaskActivityBehavior and thus requires a trigger/signal to continue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.