flowable / flowable/flowable-engine

How to return two multi-instance tasks

Open
#3,944 25 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

![image](https://github.com/user-attachments/assets/33b12578-881e-4ce5-8788-0438203fffce)
```java
this.runtimeService.createChangeActivityStateBuilder()
.processInstanceId(currentTaskProcessInstanceId)
.moveActivityIdsToSingleActivityId(returnTaskKeyList, taskDefinitionKey)
.changeState();
```

I hope that C can return B, but after executing the return, I found that there are no active tasks in ACT_RU_TASK. It is normal for C to return A. How to solve it?
Environment: Java17, flowable 7.0.1

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.