Hide Forgot
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/394443 securitylevel_name: Public I can't configure relationship between facts through collection field in "Given" section of BRMS test scenario editor. e.g. I have facts has relationship through collection field. ======= public class Section { ... } public class Company { private ArrayList<Section> SectionList; ... } ======== In case of a java test case, I can setup facts like: Company company = new Company(); Section sectionA = new Section(); company.getSectionList().add(sectionA); But, in BRMS test scenario editor, When I tried to set "sectionList" field of Company, I saw a simple textbox. There is no way to add multiple sections to a company.
Link: Added: This issue incorporates GUVNOR-441
This has been already fixed in BRMS 5.3.0. You can use "Guided List" since BRMS 5.1.0 for Collection field.
(In reply to comment #2) > This has been already fixed in BRMS 5.3.0. You can use "Guided List" since > BRMS 5.1.0 for Collection field. OK, let's verify it in a release.
Guided List works fine in 5.3.1. I also checked Guided List in latest 5.1, but the feature seems to be broken there. However, in any version, if Guided List is missing or broken, it is always possible to use the textbox (Literal value) to populate the collection field with =[a, b, c] where a, b, c are fact names of the given facts.