/
Basic Data

Basic Data

The following settings are maintained in the basic data:

  • Start options and conditions

  • Main Object and Status Management

  • Various settings that can be inherited (e.g. priority)

Basically, a distinction is made between two types of conditions:

Start preconditions

The start preconditions are the prerequisites for starting a process. The process can only be started if all criteria are fulfilled. The start preconditions must be fulfilled regardless of the selected start options and are checked before each process start.

Autostart Conditions

The autostart conditions are only checked for automatically started processes. The autostart conditions are used to check the data changes that trigger the process. This inevitably means that a data change delta must be taken into account in the autostart conditions. This delta can be determined either completely using the autostart conditions or in combination with the start preconditions.
In order for such a delta to be determined, the objects provide different types of data (current data [including new unsaved data], current stored data from the database, delta between these data). This special data is described in Container.

Example
A process should be started when the laboratory is set to 100.
A simple variant is to query the source and target laboratories. The system checks whether the new laboratory is 100 and whether the old laboratory was not 100.

Alternatively, the condition shown above can also be checked using the special delta function, which returns the new value for changed values. If the value is unchanged, the value remains empty. By using the delta function, the laboratory 100 does not have to be noted twice and can be adjusted more easily.

Both conditions shown above are equally suitable, but there is a mixture of actual start conditions and the triggering event. In fact, the target laboratory 100 is the actual start precondition and the change of the laboratory is the autostart condition. Only if these conditions are divided correctly, a process could not be started automatically later (manually, by programming or by another process).
The ideal variant should therefore be such that the target laboratory is maintained as part of the start precondition and the data change as part of the autostart conditions. To avoid redundancy of laboratory 100, it is sufficient in this case to simply check whether the laboratory was changed at all in the autostart condition, that is, whether the value of the delta function is empty. The start precondition already ensures that the target laboratory is set to 100 (new) and the autostart condition only ensures that the laboratory has been changed.

 

© ProNovia AG | Imprint | Data Protection