Bug 1279432 - Usage of "dynamic enumerations" in Guided Rule Editor should be explained
Summary: Usage of "dynamic enumerations" in Guided Rule Editor should be explained
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Documentation
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: brms-docs@redhat.com
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-09 13:02 UTC by Martin Zilak
Modified: 2020-03-27 20:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:03:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Zilak 2015-11-09 13:02:09 UTC
Describe the issue: 
Usage of dynamic enumerations in Guided Rule Editor is perhaps not the most intuitive, so it should be clearly explained in the documentation. 

When you want to use dynamic enumerations, syntax like this doesn't work:
'Selector.slTypeDetails[slType]' : (new com.test.selection.ReturnSelectionType()).returnSelection("@{slType}")

the reason being that the "expression" needs to be enclosed in quotes, like this:
'Selector.slTypeDetails[slType]' : '(new com.test.selection.ReturnSelectionType()).returnSelection("@{slType}")'

This should be clearly mentioned in the documentation in order to be used efficiently.

Suggestions for improvement: 
Create a documentation section for usage of dynamic enumerations.

Additional information: 
More information can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=1230306


Note You need to log in before you can comment on or make changes to this bug.