0 Replies Latest reply on Sep 17, 2013 12:57 AM by Soumya Bose

    Guvnor 5.5.0.Final Web decision table's advanced enum is not working.

    Soumya Bose Newbie

      Hi,

       

      We are trying to use the advanced enumeration with guvnor 5.5.0.Final. But seems not working for us. We are doing this -

       

      Having model cascadedModel. CascadedModel has following fields -

      1. categoryField (Type Text)

      2. departmentField. (Type Text)

       

      Cascaded model has a fact called -

      cascadedFact.

       

      Created an enum called cascadedEnum having following -

       

      Fact => 'cascadedFact'

      Field => 'categoryField'

      Context => '(new com.app.projectname.guvnorhelper.CategoryListing()).getAttributeListByName("categoryName")'

       

      Fact => 'cascadedFact'

      Field => departmentField[categoryField]

      Context => '(new com.app.projectname.guvnorhelper.DepartmentListing()).getAttributeListByNameAndCategoryIdString("departmentName","@{categoryField}")'

       

      And using these two enums in a web decision table's drop down. First drop down suppose to display all the categories returned for 'categoryField' and second dropdown will return the departments based upon category dropdown selection.

       

      Here my case Category drop down is listing properly, no issues. But upon category selection department dropdown is not loading at all. Actually I can see '{@categoryField} in enum is not replacing the primary drop down's selected value. Can you please take a look and let me know if there is any issue with the advanced dropdown with web decision table in guvnor 5.5.0.Final war?


      Attaching my sample repo for your analysis if needed.

       

      Any help will be really appriciated.

       

      Many Thanks,

       

      Soumya