Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Automatic variables are there for you to access the working memory object directly via the verbalization.<br> It based on the usage you want to use :)<br></p> <p>there is no better way than an other.<br> if you want to populate the working memory and let the engine deal with the manipulation then you can use automatic variables<br> If you want to control everything then use rule variable (pre conditions - starting with "definitions")<br><br> It can depend on how business users want to create/author rules, as well<br></p> <p>The doc says:<br> Because objects in the working memory cannot be named or verbalized, you must bind them to rule variables or automatic variables by defining a pattern in the definitions of the rule artifact to manipulate them<br> – At run time the rule engine cycles through all the objects in working memory to find objects that match the definition of the rule variable<br> – The rule engine creates a separate rule instance for every match, which works on the object that caused that particular rule instance to be created<br> • You can also use rule variables simply to enhance the way your rules are written<br> – For example to reduce the length of your conditions or your actions when you author rules, or to define a constant used in the rule<br></p> <p>I have been using JRules for years and it all depends on the design you want to implement. As a JRules instructor, I would say: Pick up what you prefer but personnally I don't use them. Except quick POCs.<br> Hope it helps</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload