flowable / flowable/flowable-engine

suspendProcessInstanceById question

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

i have two listener
`
private static ArrayList executionListeners() {
ArrayList listeners = new ArrayList<>();
FlowableListener activitiListener = new FlowableListener();
activitiListener.setEvent(BaseExecutionListener.EVENTNAME_START);
activitiListener.setImplementationType(IMPLEMENTATION_TYPE_DELEGATEEXPRESSION);
activitiListener.setImplementation("${counterSignListener}");
listeners.add(activitiListener);

FlowableListener nodeEndListener = new FlowableListener();
nodeEndListener.setEvent(BaseExecutionListener.EVENTNAME_END);
nodeEndListener.setImplementationType(IMPLEMENTATION_TYPE_DELEGATEEXPRESSION);
nodeEndListener.setImplementation("${nodeEndListener}");
listeners.add(nodeEndListener);
return listeners;
}
`
activitiListener is node start execute,nodeEndListener is node end execute,

i in node A and end listener (nodeEndListener)execute runtimeService.suspendProcessInstanceById() but after node B start listener still execute,and after all listener is execute,include executeListener and taskListener。

and i active process is say have process is active。why?

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.