Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1279432

Summary: Usage of "dynamic enumerations" in Guided Rule Editor should be explained
Product: [Retired] JBoss BRMS Platform 6 Reporter: Martin Zilak <mzilak>
Component: DocumentationAssignee: brms-docs <brms-docs>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: brms-docs, 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: 2020-03-27 20:03:32 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 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