The RAISEEVENT function
raises an event. The first parameter is the name of the event to raise.
There is another process job node to catch the event. In that node,
you can specify the name of the event to catch. Subsequent parameters
are event data in the form of key-value. The keys and values are arbitrary,
but they must come in pairs. For example, you might have the function
with three parameters (name, key, value) or five parameters (name,
key, value, key, value) and so on.
If the function completes
successfully, it returns TRUE. Otherwise, it returns FALSE.