Hide Forgot
Created attachment 533756 [details] Business rule showing the wrong subfield Description of problem: I have a repository with only 2 Declarative models, each with 1 Fact, each Fact with 1 field. The are unrelated, they do not extend one another in any way. In a Business Rule, if I add the second (according to the time of creation of the model) Fact, i add a field restriction on "this" and try to pick a subfield of "this", I get the option of field from the first Fact. I'm using these: - model1 with: declare Fact1 field1: String end - model2 with: declare Fact2 field2: String end - a Business rule, as the screenshot shows it. Version-Release number of selected component (if applicable): BRMS 5.3.0 dev5 Steps to Reproduce: with empty repo 1. Create a new Decl. model, create a new Fact, Fact1 and give it a field, field1. Save. 2. Create another Decl. model, in it, create a new Fact, Fact2 and give it a field, field2. Save. 3. Create a new Bus. Rule, add Fact2 to conditions, click it to "add a restriction on a field" and choose "this". 4. Click "this" and add a subfield. Actual results: Options shown: "..." and "field1". Expected results: There should be "field2" instead of "field1" as an option. Additional information: The same happens in BRMS 5.2.0 GA.
Using an expression gives the correct results.