flowable / flowable-engine

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
https://www.flowable.org
Apache License 2.0
7.85k stars 2.59k forks source link

Flowable-rest module add/delete multiple instances execution API does not exist #3873

Open wu-weichao opened 5 months ago

wu-weichao commented 5 months ago

Is your feature request related to a problem? Please describe.

Flowable-rest module add/delete multiple instances execution API

In flowable-engine Include runtimeService.addMultiInstanceExecution and runtimeService.deleteMultiInstanceExecution function.

public Execution addMultiInstanceExecution(String activityId, String parentExecutionId, Map<String, Object> executionVariables) {
  return (Execution)this.commandExecutor.execute(new AddMultiInstanceExecutionCmd(activityId, parentExecutionId, executionVariables));
}

public void deleteMultiInstanceExecution(String executionId, boolean executionIsCompleted) {
  this.commandExecutor.execute(new DeleteMultiInstanceExecutionCmd(executionId, executionIsCompleted));
}

Hope to receive support in flowable-rest module.