Jboss Drools : rules in JSON format

Discussão em 'StackOverflow' iniciado por Stack, Fevereiro 3, 2021.

  1. Stack

    Stack Membro Participativo

    does drools provides out of box support for rules in JSON format?

    is there any way to convert rules to JSON format?

    Example:- suppose my rule is like this

    rule "EmployeeRuleTemplate_2"
    dialect "mvel"
    when
    employee : Employee( lengthOfService >= 5 , rating == 1 )
    then
    modify( employee ) {
    setVacation( 25 )
    }
    end

    Continue reading...

Compartilhe esta Página