Bug 742954

Summary: Decision tables should support keyword for fact declaration - declare
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Svitak <jsvitak>
Component: BRE (Expert, Fusion)Assignee: manstis
Status: VERIFIED --- QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.2.0.GACC: lpetrovi, manstis, mbaluch
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Decision tables previously did not support the declare keyword, and users declaring their own facts had to use a workaround, such as writing a declare construct in the functions field. Support for the declare keyword has been added and users no longer need to use a workaround.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Svitak 2011-10-03 13:04:47 UTC
Decision tables do not support declare keyword. If you want to declare your own facts you have to use workaround - for example write declare construct into Functions field.

Comment 1 manstis 2012-01-25 17:07:51 UTC
This has been added in master branch. Does it need backporting to 5.3.x as the "Target Release" for this BZ is undefined (and it's an enhancement not a bug)?

Comment 2 Lukáš Petrovický 2012-01-25 19:04:18 UTC
(In reply to comment #1)
> This has been added in master branch. Does it need backporting to 5.3.x as the
> "Target Release" for this BZ is undefined (and it's an enhancement not a bug)?

It's been approved for 5.3, so I would vote for backporting.

Comment 3 manstis 2012-01-25 19:23:39 UTC
OK, done.

Comment 4 Ryan Zhang 2012-02-15 09:13:13 UTC
Please verify the issue on 5.3 ER4.

Comment 5 Jiri Svitak 2012-02-21 10:04:57 UTC
Verified in 5.3 ER4.

Comment 7 lcarlon 2012-06-04 01:33:34 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Decision tables previously did not support the declare keyword, and users declaring their own facts had to use a workaround, such as writing a declare construct in the functions field.  Support for the declare keyword has been added and users no longer need to use a workaround.