Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
In n SimpleOne, you can implement engines handling different business tasks. To make it possible to configure all implemented engines via common interface instead of fragmented configurations, the engine control system was developed and delivered - SimpleEngine. Its main ability is a flexible engine configuration management.
SimpleEngine possibilities
When you configure your engines, you need to specify target tables for relevant engine or limit the tables for engines specified. For example:
- The Following Engine must be turned on the Incident, Change Request, Problem, Request tables.
- The Tasks Auto Assignment engine must be turned on the Absences table, and so on.
The main ability of SimpleEngine is a flexible engine configuration management.
Механизмов очень много всяких. Не обязательно они должны работать на всех таблицах. Например, автоназначение должно работать на одних таблицах, а на других таблицах ему работать не нужно, и не должно быть возможности у администратора включить это. Это мы можем ограничить. Т.е. одна из задач - конфигурация, на каких таблицах будет работать тот или иной механизм.
Вторая задача - при создании механизма добавлять какие-то поля на уже существующие таблицы платформы, например, какие-то поля-признаки. Если добавить это поле в таблицу Task, то оно занимает количество памяти в каждой записи этой таблицы, а их может быть много. И чтобы их не создавать на самом деле, можно создать одну запись в Engine, и оно будет на каждой записи ходить и проверять, установлены или нет значения..
Configuring an Engine
To configure an engine within the SimpleEngine system, you need to perform a simple procedure:
- Create a new record for this engine.
- Create necessary options for this engine.
- Specify the general option values.
- Specify the option values relevant for the table(s) to be processed by this engine.
- After that, this engine will automatically enable on the table specified in step 4.
- В option value связанный список option value for table, прописываем значения для конкретных таблиц. Можно прописать для конкретной таблицы, и на ней будет работать Engine.
Этот механизм чаще используется в скриптах, для этого и было сделано API SimpleEngineБизнесвелью - гибкое управление настройками механизмов. На текущий момент реализовано только включение или отключение механизмов. В будущем будем развивать дополнительные настройки, меняющие поведение механизма.
Engines
Записи, регистрирующие все engines, которые подключены, которые конфигурируются на этом инстансе.
To create a new engine, please complete the steps below:
- Navigate to Engines → Engines.
- Click New and fill in the form, specifying a name and a description.
- Click Save or Save and Exit to apply changes.
Есть связанные списки Options и Enabled on Tables.
Options
Все опции для всех механизмов, которые здесь применимы.
To create a new engine option, please complete the steps below:
- Navigate to Engines → Options.
- Click New and fill in the form.
- Click Save or Save and Exit to apply changes.
Engine option form fields
Field | Description |
---|---|
Name | Engine option name. |
Engine | Specify an engine this option is referenced to. |
Description | Engine option description. |
Option values
Справочник значений для всех опций в системе
To create a new engine option value, please complete the steps below:
- Navigate to Engines → Option Values.
- Click New and fill in the form.
- Click Save or Save and Exit to apply changes.
Option values form fields
Field | Description |
---|---|
Option | Specify an option this value is referenced to. |
Value | Specify an option value. |
Есть связанный список Option Value
Поле value регистронезависимо.
Option values
Тут опции и значения для конкретных таблиц.
To specify option values for specified tables, please complete the steps below:
- Navigate to Engines → Values for Tables
- Click New and fill in the form.
- Click Save or Save and Exit to apply changes.
Field | Description |
---|---|
Table | Specify a table you need to be processed by this engine. |
Option value | Specify an option value for this table. |
В итоге последовательность:
table |
. |
Table of Contents | ||||
---|---|---|---|---|
|