I am migrating to ODM 8.8.0.1, and converting my rule project to Decision Engine mode.
In Rule Designer, we now have the below error related to one of our virtual methods:
[B2X] Parse error at line 1, column 8. Encountered: enum: Parse error at line 1, column 8. Encountered: enum
What can be wrong with our code?
Answer by odml2_sfr (6707) | Jun 27, 2016 at 03:19 AM
The error about enum is due to the fact that 'enum' is a reserved keyword and cannot be used as a variable. You can simply rename it to solve this error:
Where ever 'enum' is used, rename enum to enum_value, be it an attribute name or a method argument, and change also your virtual method B2X code accordingly. This will resolve the parse error.
How to get a rule property using decision engine ? 1 Answer
How to get a instance of a class using decision engine 1 Answer
When I am converting my Rule project from CRE to DE, I am getting the below error in .b2xa file 0 Answers
Changes to my b2x irl code are not reflected to the arl when switching from CRE to DE build mode 1 Answer