Bug 1141619
| Summary: | Boundary event should not be attached to Script Task in JBDS for jBPM | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | ksuzumur |
| Component: | Eclipse Tooling | Assignee: | Kris Verlaenen <kverlaen> |
| Status: | CLOSED EOL | QA Contact: | Jozef Marko <jomarko> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0.2 | CC: | bpms-support, ksuzumur, kverlaen, mbaluch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 20:13:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
ksuzumur
2014-09-15 03:46:29 UTC
Note that the description refers to Service Task in some cases, but the issue is about the Script Task, not the Service Task. Does this mean that Script tasks are NEVER expected to cause a timeout? Sorry for being unclear...what I wanted to say was: I don't understand why timer events are not supported by jBPM on Script Tasks - isn't it possible that a script MAY time out? If so, wouldn't it be necessary to have a timer event that can handle that timeout? Correct (at least in the current situation). Script tasks are executed using the engine thread. They should not quick and immediate. Otherwise they will block the engine. Also, even if a timer would fire it would be prevented from triggering as another thread (executing the script) would still be active. It would be much better to model long-running scripts using a service task and using async execution for the script, in which timers could be used as well. Fixed in 1.2.3 (Mars) and 1.3.0 (Luna) versions of BPMN2 Modeler. User is prevented from adding a Timer Boundary Event to a Script Task. Also, a Timer Event Definition can not be added to an existing Boundary Event attached to a Script Task. I have verified this as also fixed in BPMN2 Modeler versions for Luna: 1.1.6.CR1-v20160318-1403-B1303 Mars: 1.2.4.CR1-v20160318-1302-B107 Neon: 1.3.0.Beta1-v20160318-1302-B41 Verified on: jbds-9.1.0.CR1_jbdsis-9.0.0.CR1 jbtis-4.3.0.CR1 BPMN2 Modeler - 1.2.4.Final-v20160330-1625-B110 |