Hi Anatony Vlad,
Greetings!!!
We are doing upgrade and migration of v8.10.1 Class Rule Engine Projects to v8.11.0.1 Decision Engine.
We are able to update Java API changes, ODM API changes for most of the b2x, rules, ruleflows etc.,
But, we are not able to proceed with Custom Value Editor migration, after importing the BOM and Rules on v8.11.0.1 Rule Studio we are getting below error for every verbalization which is associated to Value Info / Value Editor / Value Translator / Value Support API references.
We have a class called Address in which there is a method called isLocationValueIn(value.LocationValue) of return type boolen returns false
isLocationValueIn method custom properties we have defined
translation.irl & valueInfo[0]
LocationValue is a value info class which is like POJO and it has original Java Value Editor classes custom properties like
DecoratedValueDescriptor.prefix , valueDescriptor , valueEditor , valueTranslator
Above implementation after migration throwing below error
Cannot find member <init> of type <class name>
for ex: Cannot find member <locationValueIn> of type <com.value.model.Address>
Kindly provide your advices how to proceed to fix custom value editor errors.
Thanks in Advance,
Siva
------------------------------
SIVA REDDY
------------------------------
Original Message:
Sent: Tue February 21, 2023 05:57 AM
From: Antony Viaud
Subject: ODM 8.11.1 | Custom value Editors | Business Console Web Guided Editor
Hello,
the old guided editor has been replaced by the Intellirule editor many years ago, Intellirule becoming the default and recommended editor. The web guided editor has never been implemented in the Business Console (it was only there in Enterprise Console, now removed from ODM 8.11.x).
So you need to follow the sample showing how to add a custom value editor to the web Intellirule editor, knowing that we introduced a new web Intellirule editor in ODM 8.11.1 (but adding a custom value editor is working the same as with the previous web Intellirule editor).
------------------------------
Antony Viaud
Product Manager, IBM Decision Automation
Original Message:
Sent: Mon February 20, 2023 07:30 AM
From: Maria del Rosario Alvarez Martinez
Subject: ODM 8.11.1 | Custom value Editors | Business Console Web Guided Editor
Hi All!
Is the Web Guided Editor in ODM 8.11.1 Business Console deprecated?
I am migrating a Web Guided Editor from ODM 8.9 to ODM 8.11.1 (OpenShift cluster). After copying the custom jar files, into customlib folder, I get the warning:
W Cannot find preference for value editor key: core.intelliruleEditor.dominis.prestacions.editor
In preferences.propesties file, the mapping of the implementing Web Guided Editor class is as follows:
webui.editor.dominis.prestacions.editor= xxxxxx.valueextension.prestacions.PrestacionsValueEditor
I have modified in preferences.properties file the mapping above, in this way:
decisioncenter.web.core.intelliruleEditor.dominis.prestacions.editor= xxxxxx.valueextension.prestacions.PrestacionsValueEditor
But, I get the following error:
E Cannot find right constructor for class xxxxxx.valueextension.prestacions.PrestacionsValueEditor
It is as if only Web Intellirule Editor can be defined.
In ODM 8.11.1 documentation, I cannot find any reference to Web Guided Editor into Business Console, just Intellirule Editor.
The samples into the Samples Console, demonstrates how to plug a custom value editor into the Business console Intellirule Editor.
Can someone give me an example of Web Guided Editor into Business Console ODM 8.11.1?
Thank you very much.
------------------------------
Charo Álvarez Martínez
Automation Architect
DECIDE
Madrid
------------------------------