Application State Listener
Java Class
org.camunda.bpm.extension.hooks.listeners.ApplicationStateListener
This Listener can be used on any task or execution listener event. Upon configuration, it performs the following actions:
- Syncs the formsflow.ai system with the active
applicationStatusfrom Camunda. - Sends Camunda variables
applicationStatusandformUrlto formsflow.ai for audit history capture.
Type
Task/Execution Listener
How It Works
The listener sequentially invokes the following REST endpoints:
- Application Endpoint:
application/{id}with data from Camunda variablesapplicationStatusandformUrl. - Application History Endpoint:
application/{id}/historywith the same variables.
The component depends on the following Camunda context variables:
applicationIdapplicationStatusformUrl
How to Use
The following snapshot shows how to configure the ApplicationStateListener to a task.
