Description of problem: It is not possible to select model classes in the CONFIG tab in the guided rule. Only classes created by Data Modeler are available for selection. Version-Release number of selected component (if applicable): BPM 6.0.2 How reproducible: always Steps to Reproduce: 1. Upload some jar with model class to the artifact repository 2. make it a project dependency 3. create guided rule and try to use this class in the LHS Actual results: Classes from external jar can't be import in the guided editor Expected results: Classes from external jar can be imported in the guided editor
Created attachment 929132 [details] [1] drl
Created attachment 929133 [details] [2] guided rule
Created attachment 929134 [details] [3] import suggestions
Created attachment 929135 [details] [4] guided rule - working
If you upload the JAR with the model you can use this class in the DRL rule, as shown in the screenshot [1]. However, it is not visible in the guided rule, as shown in screenshot [2]. workaround: Authoring - > Project Authoring - > Tools - > Project Editor - > Imports - > Import Suggestions Now you need to *manually* enter all the FQCN of your model classes - as shown in screenshot [3]. This is apparently not a best practice, as explained by manstis in BZ-1081552: "Import Suggestions" are really badly named; they are really a place to define imports for classes *not* in the Project, but for example (and their main use) classes in the JRE that you need: java.util.List etc." Once you save/build the project there will be WARN that these classes can't be resolved - BZ-1078763 However, after this you can finally import these classes in the config tab in the guided rule - screenshot [4]. Please improve the usability of imports/guided editor - as you can see the process is quite painful.
I followed these steps (with 6.2.0.CR1 Community, i.e. 6.1.0.CR1 Product):- 1) Upload JAR to "Artifact Repository" 2) Open Project (Authoring Perspective) and add uploaded JAR as a dependency 3) Saved the Project changes 4) Opened a Guided Rule 5) Added a class from the uploaded JAR on the "Config" tab 6) Added a Pattern in the rule for the class I added in the "Config" tab i.e. I was able to perform the required operation without problem. Can you please re-test or provide steps to re-produce?
Works for me as well - both BRMS and BPMS 6.1 ER2.