Versions Compared

Key

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

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:


Вторая задача - при создании механизма добавлять какие-то поля на уже существующие таблицы платформы, например, какие-то поля-признаки. Если добавить это поле в таблицу Task, то оно занимает количество памяти в каждой записи этой таблицы, а их может быть много. И чтобы их не создавать на самом деле, можно создать одну запись в Engine, и оно будет на каждой записи ходить и проверять, установлены или нет значения.


Configuring an Engine


To configure an engine within the SimpleEngine system, you need to perform a simple procedure:

  1. Create a new record for this engine.
  2. Create necessary options for this engine.
  3. Specify the general option values.
  4. Specify the option values relevant for the table(s) to be processed by this engine.
  5. After that, this engine will automatically enable on the table specified in step 4.
  6. В option value связанный список option value for table, прописываем значения для конкретных таблиц. Можно прописать для конкретной таблицы, и на ней будет работать Engine.

Этот механизм чаще используется в скриптах, для этого и было сделано API SimpleEngine.

Engines


Записи, регистрирующие все engines, которые подключены, которые конфигурируются на этом инстансеIn there, create records accumulating all information about the engines configuration on this instance.

To create a new engine record, please complete the steps below:

  1. Navigate to Engines → Engines.
  2. Click New and fill in the form, specifying a name and a description.
  3. 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:

  1. Navigate to Engines → Options.
  2. Click New and fill in the form.
  3. Click Save or Save and Exit to apply changes.

Engine option form fields

FieldDescription
NameEngine option name.
EngineSpecify an engine this option is referenced to.
DescriptionEngine option description.

You can also create an option record by clicking the New button on relevant related list at the Engines page.

Option values


Справочник значений для всех опций в системе

To create a new engine option value, please complete the steps below:

  1. Navigate to Engines → Option Values.
  2. Click New and fill in the form.
  3. Click Save or Save and Exit to apply changes.

Option values form fields

FieldDescription
OptionSpecify an option this value is referenced to. 
ValueSpecify an option value.

Есть связанный список Option Value

Поле value регистронезависимо. 

Option values


Тут опции и значения для конкретных таблиц.  

To specify option values for specified tables, please complete the steps below:

  1. Navigate to Engines → Values for Tables
  2. Click New and fill in the form.
  3. Click Save or Save and Exit to apply changes.
FieldDescription
TableSpecify a table you need to be processed by this engine.
Option valueSpecify an option value for this table.

You can also specify this information by clicking the New button on relevant related list at the Engines page.

Table of Contents
absoluteUrltrue
classfixedPosition