Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application History is not getting generated in formsflow.ai

I am using Opensource formsflow.ai version v4.0.2. This is the Repo Link. I could get the Repo up and Running using docker deployment as instructed.

I had created a form and BPMN workflow for a specific use-case in formsflow.ai. The BPMN workflow is similar to the examples provided in the formsflow.ai opensource. This workflow consists of 4 statuses eg: New, Approved, Rejected, and Completed as shown Below. But when I am submitting the application from the client the application history is not getting created.

My Custom Workflow

I am not sure what went wrong here, can anyone please help me with a solution. Could see the sample workflows they provided created history but not my custom Workflow.

like image 633
crystalthinker Avatar asked Jan 25 '23 07:01

crystalthinker


1 Answers

You should use Application Audit Listener as mentioned in the document here.

org.camunda.bpm.extension.hooks.listeners.ApplicationAuditListener
This component can be used on any event of task or execution. Upon configuration, this send value from cam variables: "applicationStatus" and "formUrl" to formsflow.ai system for capturing audit.

like image 193
John Thomas Avatar answered May 12 '23 09:05

John Thomas