Event

This is not a component and therefore menu items are not created for it. Events and event listeners are created in the Admin menu group.

When a event is raised using SoftadminApi.Event_Raise or SoftadminApi.Event_Raise_Batch the work of all it's listeners will be queued.

Synchronous SQL events

This type of event is handled just like a regular EXEC of another procedure, with the exception the caller does not have to know which procedures are being called. It is used when programming independent function blocks.

Asynchronous SQL events

This type of event is used to run asynchronous SQL procedure calls. It is most commonly used to execute slow SQL that the user should not have to wait for. But may also be used when programming independent function blocks. In normal scenarios the listeners will be started within a couple of seconds unless there is too many events queued. A listener will block other events for the same listener until done. Different listeners run in parallel and do not block each other.

Asynchronous menu item events

This type of event is used to run asynchronous menu items. It is most commonly used to execute slow menu items that the user should not have to wait for. But may also be used when programming independent function blocks. In normal scenarios the listeners will be started within a couple of seconds unless there is too many events queued. A listener will block other events for the same listener until done. Different listeners run in parallel and do not block each other.

SQL

SQL Call: Batch

May modify database: Yes

Parameters

@<temporary table #Arguments> string
Table with one column Argument containing multiple arguments (but not necessarily all) the event was raised with.

SQL Call: Single

May modify database: Yes

Parameters

@Argument string
Argument the event was raised with.