Skip to content

Latest commit

 

History

History
 
 

activiti-task-listener-example

The project contains all the components required to create an APS task Listener

Use-Case / Requirement

Build a process to create a listener that listens to a task.

Prerequisites to run this demo end-2-end

Configuration Steps

Activiti Setup and Process Deployment

  1. Import the Task-Listener.zip app available in this project into Activiti.
  2. Process Flow. Process-Flow
  3. Task Configuration. Human-Task-Configuration
  4. Task Listener Configuration in Task. Request-Mapping
  5. Code Snippet. Code-Snippet
  6. Source Code. Source-Code
  7. The JAR File. Task-Listener.jar
  8. Copy the jar file to tomcat-lib location. [eg: /usr/local/tomcat/webapps/activiti-app/WEB-INF/lib/]
  9. Publish/Deploy the APS App.

Run the DEMO

References

  1. https://www.activiti.org/userguide/#taskListener
  2. https://www.programcreek.com/java-api-examples/?api=org.activiti.engine.delegate.TaskListener
  3. https://community.alfresco.com/thread/175168-proper-way-to-implement-a-custom-a-tasklistener-in-activiti