Event
Camlin applications can process events by adding a diagram to the page and giving it a name that matches an event, when an event happens the application will process the diagram until it reaches the end of the diagram or exit from the diagram.
Oct 2020: New feature coming that will allow the current interaction to be changed via an event
Example Event Handler
Please see the image below of an example handling of the system event camlin.runtime.browser.close
Event camlin.runtime.voice.hangup
Please see the image below of an example handling of the system event camlin.runtime.voice.hangup which is executed when somebody hangs up a call.
In the example shown the flow sets a variables within the application for reporting and then ends the diagram.
Custom Events
You can also create your own events which are sent to the application via a HTTP Post message to the application runtime.
TBD