Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-475

Error in documentation concerning the joining of constarints

    XMLWordPrintable

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.)

      Description

      In the documentation it is specified that in the DSL in order to create join constraints you define them as such:
      (URL:http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.4/html_single/index.html)

      [when]There is a Cheese with=Cheese()
      [when]-age is less than

      {age}=age<{age}

      [when]-type is '

      {type}'=type=='{type}

      '
      [when]-country equal to '

      {country}'=country=='{country}

      '

      Actually, there must be a space between the "dash" and the constraint, such as:

      [when]There is a Cheese with=Cheese()
      [when]- age is less than

      {age}=age<{age}

      [when]- type is '

      {type}'=type=='{type}

      '
      [when]- country equal to '

      {country}'=country=='{country}

      '

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                zayamatias Matias Zaya Mendez
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: