Configuration - Defining rules
Rulesets are defined in the administration area of ELO Automation Services.
ELOasELO Automation ServicesThe program executes rules at regular intervals to carry out defined tasks in ELO.
Rules are written in JavaScript and will be executed by the Indexserver at specified intervals.
Rule processing
1. The program first searches for objects in ELO that match the rule definition.
2. The rule is applied to all elements found in ELO.
Information: The setting for the documents to be searched is defined in the search fields.
3. If a rule does not match, it cannot be applied or executed. An error message appears.
The defined rules are filed in ELO under Administration > Rules.
Define new rule
1. Click the Add button to create a new ruleset.
Rule, newRuleset2. Enter a name for the new rule (ELOas rule) in the Name field.
3. Click Save.
The ruleset is created.
Information: Once you have saved it, the new ruleset is stored in the Rules folder of ELO. You can configure the rulesets in the Rules area.
Rule, global error ruleRuleGlobal error ruleInformation: A ruleset is made up of two rules sections. The steps to be executed are described in the Rule box (blue). It contains information about what to do with each object found. In the Global Error Rule section (red), you can define what should happen when errors occur.
Please note: If a ruleset is invalid, it cannot be saved. The validity of a ruleset is verified when saving.
Ruleset, invalidRulesetSee the following section for an example.