This quickstart demonstrates how to use escalation and error events in embedded forms.
This example uses Jakarta API. It is compatible with the latest releases of Camunda Tomcat and WildFly distributions.
Boundary Events can be added in the Camunda Modeler. Each can be referenced by its error- or escalation code.
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.
- Checkout the project with Git
- Build the project with maven
- Deploy the war file to a Camunda Platform distribution
- Go to the Tasklist and start a process instance for the process named "Embedded Forms BPMN Events"