Application State Listener
org.camunda.bpm.extension.hooks.listeners.ApplicationStateListener
This component 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 status from Camunda.
- Sends Camunda variables
applicationStatus
andformUrl
to 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 variablesapplicationStatus
andformUrl
. - Application History Endpoint:
application/{id}/history
with the same variables.
The component depends on the following Camunda context variables:
applicationId
applicationStatus
formUrl
How to Use
The following snapshot shows how to configure the ApplicationStateListener to a task.