If there are corresponding assets event descriptions, they also end up in the database.
Component Generating a custom event
:icons:font :hardbreaks: :imagesdir: ../../../assets/images :toc-title: Contents :toc:
Description
Sends an arbitrary event to subscribers to system events (role wssubscr). +\
Index |
|
Short name |
|
Script types |
|
Start module |
|
Mode |
Asynchronous |
Icon |
|
Branching type |
Branching, closing |
Properties
| Specification | Description |
|---|---|
Name: Direction Code: Visibility condition: no Default: |
Select the direction for sending the event. Possible options:
|
Name: User Code: Visibility condition: yes Default: — |
User name by which to filter when subscribing.
For the role wssubscr, the value is represented as the structure If not specified, then an empty value is substituted, which can also be a filter. Used only when selecting the 'Subscribers' direction. |
Name: Storage code Code: Visibility condition: yes Default: — |
Argument specifying the storage code (the 'instance' field of the 'storage' entity with the 'kafka' type). Used only when selecting the 'KAFKA-domain storage' direction. Required parameter when using this direction. |
Name: Partition key Code: Visibility condition: yes Default: — |
Optional parameter used to determine the partition number of the corresponding topic in KAFKA. Can be the identifier of the entity associated with the generated event. Used only when selecting the 'KAFKA-domain storage' direction. |
Name: Event name Code: Visibility condition: no Default: — |
Event name containing class and type separated by a dot in the format |
Name: Event body Code: Visibility condition: no Default: — |
The body of the sent message as a JSON structure |
Name: Transition Code: Visibility condition: no Default: — |
Component to which control is transferred upon successful completion. |
Name: Transition, error Code: Visibility condition: no Default: — |
The component to which control is transferred when an error occurs. |
Name: Cause of error in variable
Code: Default: — |
Variable for storing the error. |