Search code examples
droolsdrools-guvnor

Java Date/time class supported in new workbench Test Scenario?


Is there a date/time type supported by the new business central workbench test scenarios? java.time.LocalDateTime does not appear to work although for dates java.time.LocalDate does work


Solution

  • There is no embedded support for java.time.LocalDateTime but starting from version 7.30 we support MVEL expressions in RULE based test scenarios: it is enough to add # as prefix to the value and then you can invoke the Java method that you prefer. In EXPECT section you can use an implicit variable named actualValue to have access to the value of that column

    see screenshot