Comments (6)
Hi Michal, please attach the full debug logging of a process instance run so we can do an analysis on the possible reasons for the delay that you are seeing.
from flowable-engine.
Hi,
sure, there are log of submiting task via my REST API over Flowable Service API.
This is kinda interesting, most of the time, the delay is inside ExclusiveGatewayActivityBehavior before script condition and rarely somewhere right after that activity.
Content of that script:
<scriptTask id="ulozenieVyhodnoteniaDoKP" name="Uloženie vyhodnotenia do KP" scriptFormat="groovy" flowable:autoStoreVariables="false"> <script><![CDATA[vyhodnoteniePoziadavkyProcessScript.ulozenieVyhodnoteniaDoKP(execution);]]></script> </scriptTask>
Explore-logs-2024-04-29 12 10 33.txt
Let me know if i can submit you something more specific, but i dont know, what i am looking for... Maybe there is some lock mechanism inside ContinueProcessOperation, or something like that.
from flowable-engine.
In this case the delay must be somewhere inside this code in ContinueProcessOperation right after that log message:
There is an event dispatched but i got no logs what's going on before first line of my log in ScriptTask.
from flowable-engine.
I don't think that the delay is in there @MichalHecko. It could be related to the script parsing (although your script looks really simple).
Is it possible for you to test this by swapping the script task with a service task with an expression like vyhodnoteniePoziadavkyProcessScript.ulozenieVyhodnoteniaDoKP(execution)
?
Just to rule out whether it is something specific with the Script engine parsing or it is something else.
There is an event dispatched but i got no logs what's going on before first line of my log in ScriptTask.
Do you have some event listeners perhaps? We are not logging anything, but perhaps you have a custom event listener that is doing something?
from flowable-engine.
I replaced script tasks with service tasks only in one specific process and there is no delay within process flow. So we can blame script engine parsing or something very close to that code.
I am gonna close this issue and if problem occurs again even with service tasks i will reopen it.
Thanks for advice.
from flowable-engine.
Thanks for checking it @MichalHecko
from flowable-engine.
Related Issues (20)
- Flowable-rest docker 7.0.0 cannot perform HTTP Tasks HOT 2
- about startProceessInstanceAsync API HOT 1
- realease6.8.1 has a bug ,because The rollback Cannot roll back correctly in the case of multiple instances,please fix soon HOT 1
- flowable-ui的版本和flowable-engine的版本不太一致
- task complete before report NoSuchMethodError: org.flowable.bpmn.model.UserTask.getTaskCompleterVariableName() , flowable version: 7.0.1 HOT 2
- Flowable 7.0.1 not getting installed in ecliupse HOT 1
- Conditions should support more than JUEL expressions
- suspendProcessInstanceById question
- BpmnXMLUtil.parseExtensionElement setElementText has bug of Line wrap cover HOT 1
- Process migration cannot migrate processes HOT 1
- Process definition id of an async external worker service task job is not updated after direct migration HOT 1
- 是否有审批人驳回到上级,上级修改后在发起继续审批流程 HOT 1
- Invalid SQL upgrade scripts for HSQL database (7.0.0 -> 7.0.1)
- The DefaultIdentityLinkIterceptor.java creates duplicate identityLinks on ProcessInstance
- AsyncTaskInvokerTaskExecutor supplied by Spring Boot autoconfiguration is not started
- Not possible to exclude the `flowable-event-registry` JAR even if EventRegistry disabled
- startProcessInstanceByKey does not always trigger the process HOT 3
- Liquibase first up does not work with JtaProcessEngineConfiguration HOT 1
- Timer job never unlocked after an exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowable-engine.