New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOS The previous task node has a task listener, and the next one will also use the listener. #1937
Comments
@liqiaolin520 hi there.. thanks for reporting this issue. Is it possible to know which version of Activiti are you using and can you create a small maven project with a reproducer of the problem? |
I used 5.21.0 |
@liqiaolin520 if you can create a small maven project to reproduce the issue that will be great. Also have you tried upgrading to 5.22 ? |
Ok, no problem. I will test 5.22 first. If 5.22 doesn't work, then I will send my test case to you together. Is that ok? |
@liqiaolin520 yeah, that is ok |
Hello, I know the answer, is set to 0 after obtaining processEngineConfiguration processDefinitionCacheLimit, otherwise I again deployment is also wrong, ####The conclusion of my analysis is as follows: We can see SupervisorApprove task , execute - > activity - > activityBehavior - > Can you tell me that the operation defined by this caching process is not refreshed for the redeployed process? Or will the cache not disappear when the server restarts?Because I see that your cache is a Map Thank you |
This problem is resolved when I don't use caching!But it's slower |
嗯,我发现不使用缓存时并不能解决问题,我有多个流程,第一个节点都是存在任务监听器的! |
@liqiaolin520 please use english here |
Well, I've found that it doesn't solve the problem without caching. I have multiple process definitions, and the first node has the same task listener! |
If you provide a reproducer we can fix the issue for sure, please create a simple maven project and push it to github and share the link.. so we can run it here and reproduce the error. |
There is a batch start process on my side |
Ok, I'll try to get a maven project out |
Thank you for your help |
@liqiaolin520 thank you for reporting the issue :) |
@liqiaolin520 any progress on this side? |
The previous task node has a task listener, and the next one will also use the listener.
I have a problem. It's strange!It's about the task listener!
####The xml code
We can see that only SupervisorApprove task node has a listener
When I start the process, the engine defaults to creating the first task, calling the task listener, which is true, of course
However, when I complete this first task, the engine creates a second task and it calls again, but my second task node has no task listener configured!My other flowcharts are the same
thank
The text was updated successfully, but these errors were encountered: