| Summary: | Running multiple process instances with rule tasks have unexpected results | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Jeff DeLong <jdelong> |
| Component: | jBPM Console | Assignee: | Kris Verlaenen <kverlaen> |
| Status: | NEW --- | QA Contact: | Radovan Synek <rsynek> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | BRMS 5.3.0.GA | CC: | atangrin, lpetrovi |
| 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: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jeff DeLong
2012-01-05 21:17:39 UTC
I believe that in some cases this will be desired behavior - to be able to use business rules (from within the process) that depends on external facts. If reasoning should be done only on internal process instance's facts they should not be inserted into the session but rather rules should be created that operate on process variables and insert only process instance into the session and retract it at the end of the process. This can be done with on entry and on exits scripts currently but could be a good extension if based on some configuration (on process level) that will instruct the engine to do that automatically: when started, process instance should be inserted into the session; update it in the session when variable changes; and retract it when process instances is completed/aborted. Wdyt? |