Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

rule "rule name"
when
     (record-level condition on MARC record)
then
     Action1 (field-level condition, if applicable)
     Action2 (additional actions optional)
end

The first section of a rule contains the rule name. In the second section, you define the condition that is tested at the record level. The rule looks at the entire record to determine whether the condition is met. If the condition is met, the rule continues to the third section. That section contains an action or multiple actions. When you have more than one action, the actions are executed in order. Some of these actions may have conditions themselves. These conditions are tested at the field level. And finally, the last line is simply the end of the norm rule.

...