SendSystemEvent
Sends any custom system event with the given arguments.
SendSystemEvent(
eventIdn: str,
connectorIdn: str = "system",
actorIds: List[UUID] | None = None,
global: Literal['true', 'false'] = 'false',
uninterruptible: Literal['true', 'false'] = 'false',
**arguments: str
)
Where:
| Parameter | Type | Description |
|---|---|---|
eventIdn | str | Any custom eventIdn. |
connectorIdn | str | The connector identifier for the event. Defaults to "system". |
actorIds | List[UUID] | None | List of actors to send this event to. Use action GetActors to get the list of actors. If this parameter is not set, the current actor is used. |
global | Literal['true', 'false'] | If "true," the event is sent as global. In this case, the "actorIds" parameter is ignored. Defaults to 'false'. |
uninterruptible | Literal['true', 'false'] | If "true," the triggered flow will not be interrupted by other events. Defaults to 'false'. |
**arguments | str | Arbitrary arguments sent along with the message. |
Example
In this example, the SendSystemEvent action is used to send arguments. Arguments can also be sent using an API or integration.
{{SendSystemEvent(
eventIdn="my_custom_event",
connectorIdn="system",
custom_argument_1="MY ARGUMENT VALUE 1",
custom_argument_2="MY ARGUMENT VALUE 2"
)}}
Skill to get the arguments of the event "my_custom_event". This Skill should be executed by subscribing to the event my_custom_event:
{% set act = GetTriggeredAct() %}
{# act will look like:
act.arguments → {
"custom_argument_1": "MY ARGUMENT VALUE 1",
"custom_argument_2": "MY ARGUMENT VALUE 2"
}
#}
{# Access individual arguments: #}
{{ act.arguments.custom_argument_1 }}Updated 14 days ago
