Updated Automation (markdown)

Anna No 2022-06-09 12:22:10 +07:00
parent 3139f5fe7a
commit af2687b647

@ -21,6 +21,15 @@
### Based on attribute class
![Screenshot from 2022-06-09 00-54-50](https://user-images.githubusercontent.com/8220420/172684648-e3a38f4a-42f9-43bd-9a58-7c23ff2d4329.jpg)
## Triggers
### User action
- triggered from context menu (could choose several modes, e.g. context, editor etc, available modes could be configured by mixin, by default only context is available).
- calls Automation Service api by special action handler.
### Database trigger
- has one trigger catching database transactions
- finds all automation objects for transaction class (automation target class)
- checks what automations are applicable for object
- calls Automation Service api to execute commands
# Issues
One automation item can contain one trigger, but several actions to perform on it.