Red Hat Bugzilla – Bug 1007971
Decision logic design should be more intuitive
Last modified: 2014-08-06 16:11:12 EDT
- what about enhancing code assistance with typical operators: equals, lesser than, not equal to, greater than, ...?
- to simplify condition expression on sequence flow: only single line expression, no "return" keyword, no ";". More complex script should go to script task or service task, I believe these conditions on seq. flow are supposed to be just expressions operating over process variables.
this simplification is connected with bug 1007760
Yes, this is a blocker for GA. This needs to be fixed with better UI option. We can live without this for Beta
I would consider this a feature request, not a bug.
It is arguable it is a feature. But asking end user to enter java code is simply not expected. The fundamental goal of this release is to build the tool that is comfortable for business users to design processes with little to no help from IT.
Its a must fix for GA. Please estimate the effort needed to fix this issue.
I suggest we leverage the UI that already exists in polymita code. I am not sure how much of that is reusable. But atleast there is an example hat we can use.
Internal Whiteboard: Beta Blocker → Blocker
Not critical for Beta, but need to address for GA
Could someone provide screenshots of the what this looks like for BPMS vs. Polymita?
Created attachment 813336 [details]
Screenshots from Polymita
Screenshots from Polymita expression builder
Created attachment 813800 [details]
Short term specs
Specs for a very limited subset of this feature to be developed in short term
Created attachment 813801 [details]
Long term specs
Created attachment 815876 [details]
UI proposal for short term solution
Modified conditions editor UI and added new KieFunctions class to evaluate the generated expressions. Commits:
drools (6.0.x): https://github.com/droolsjbpm/drools/compare/b21b34f...a33b595
jbpm (master): http://github.com/droolsjbpm/jbpm/commit/7007e422e
jbpm (6.0.x): http://github.com/droolsjbpm/jbpm/commit/430b89d35
jbpm-designer (6.0.x): http://github.com/droolsjbpm/jbpm-designer/compare/ab3e54f...17446ca
Changed panel layout to avoid that the inputs are displayed when an action is selected.
Commits master: https://github.com/droolsjbpm/jbpm-designer/commit/bf4b583618e70b7b9819c3d805b76bc51473d19f
Commits 6.0.x: https://github.com/droolsjbpm/jbpm-designer/commit/7bee13ea00cf8df689a1f34074bcb7c25c3dfc67
Verified with BPMS-6.0.0.ER7 (Firefox, Google Chrome)