Error and Escalation Events in Embedded Forms
This quickstart demonstrates how to use escalation and error events in embedded forms.
Where are Error and Escalation events defined?
Boundary Events can be added in the Camunda Modeler. Each can be referenced by its error- or escalation code.
How are these events triggered from an embedded form?
Error events can be triggered by calling
camForm.error('error-code', 'error-message') from a custom Script or using the
<button cam-error-code="error-code"> element.
Similarly, an escalation can be triggered using
camForm.escalate('escalation-code') from a custom Script or using the
<button cam-escalation-code="escalation-code"> element.
How to use it?
- Checkout the project with Git
- Build the project with maven
- Deploy the war file to a camunda BPM platform distribution
- Go to the Tasklist and start a process instance for the process named "Embedded Forms BPMN Events"